/*
 ***********************************************************************************************************************
 *
 *  Copyright (c) 2021 Advanced Micro Devices, Inc. All Rights Reserved.
 *
 *  Permission is hereby granted, free of charge, to any person obtaining a copy
 *  of this software and associated documentation files (the "Software"), to deal
 *  in the Software without restriction, including without limitation the rights
 *  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  copies of the Software, and to permit persons to whom the Software is
 *  furnished to do so, subject to the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included in all
 *  copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 *  SOFTWARE.
 *
 **********************************************************************************************************************/

#pragma once

namespace Pal
{
namespace Gfx9
{
inline namespace Chip
{
constexpr unsigned int CB_BLEND0_CONTROL__ALPHA_COMB_FCN_MASK             = 0x00e00000L;
constexpr unsigned int CB_BLEND0_CONTROL__ALPHA_DESTBLEND_MASK            = 0x1f000000L;
constexpr unsigned int CB_BLEND0_CONTROL__ALPHA_SRCBLEND_MASK             = 0x001f0000L;
constexpr unsigned int CB_BLEND0_CONTROL__COLOR_COMB_FCN_MASK             = 0x000000e0L;
constexpr unsigned int CB_BLEND0_CONTROL__COLOR_DESTBLEND_MASK            = 0x00001f00L;
constexpr unsigned int CB_BLEND0_CONTROL__COLOR_SRCBLEND_MASK             = 0x0000001fL;
constexpr unsigned int CB_BLEND0_CONTROL__DISABLE_ROP3_MASK               = 0x80000000L;
constexpr unsigned int CB_BLEND0_CONTROL__ENABLE_MASK                     = 0x40000000L;
constexpr unsigned int CB_BLEND0_CONTROL__SEPARATE_ALPHA_BLEND_MASK       = 0x20000000L;
constexpr unsigned int CB_BLEND1_CONTROL__ALPHA_COMB_FCN_MASK             = 0x00e00000L;
constexpr unsigned int CB_BLEND1_CONTROL__ALPHA_DESTBLEND_MASK            = 0x1f000000L;
constexpr unsigned int CB_BLEND1_CONTROL__ALPHA_SRCBLEND_MASK             = 0x001f0000L;
constexpr unsigned int CB_BLEND1_CONTROL__COLOR_COMB_FCN_MASK             = 0x000000e0L;
constexpr unsigned int CB_BLEND1_CONTROL__COLOR_DESTBLEND_MASK            = 0x00001f00L;
constexpr unsigned int CB_BLEND1_CONTROL__COLOR_SRCBLEND_MASK             = 0x0000001fL;
constexpr unsigned int CB_BLEND1_CONTROL__DISABLE_ROP3_MASK               = 0x80000000L;
constexpr unsigned int CB_BLEND1_CONTROL__ENABLE_MASK                     = 0x40000000L;
constexpr unsigned int CB_BLEND1_CONTROL__SEPARATE_ALPHA_BLEND_MASK       = 0x20000000L;
constexpr unsigned int CB_BLEND2_CONTROL__ALPHA_COMB_FCN_MASK             = 0x00e00000L;
constexpr unsigned int CB_BLEND2_CONTROL__ALPHA_DESTBLEND_MASK            = 0x1f000000L;
constexpr unsigned int CB_BLEND2_CONTROL__ALPHA_SRCBLEND_MASK             = 0x001f0000L;
constexpr unsigned int CB_BLEND2_CONTROL__COLOR_COMB_FCN_MASK             = 0x000000e0L;
constexpr unsigned int CB_BLEND2_CONTROL__COLOR_DESTBLEND_MASK            = 0x00001f00L;
constexpr unsigned int CB_BLEND2_CONTROL__COLOR_SRCBLEND_MASK             = 0x0000001fL;
constexpr unsigned int CB_BLEND2_CONTROL__DISABLE_ROP3_MASK               = 0x80000000L;
constexpr unsigned int CB_BLEND2_CONTROL__ENABLE_MASK                     = 0x40000000L;
constexpr unsigned int CB_BLEND2_CONTROL__SEPARATE_ALPHA_BLEND_MASK       = 0x20000000L;
constexpr unsigned int CB_BLEND3_CONTROL__ALPHA_COMB_FCN_MASK             = 0x00e00000L;
constexpr unsigned int CB_BLEND3_CONTROL__ALPHA_DESTBLEND_MASK            = 0x1f000000L;
constexpr unsigned int CB_BLEND3_CONTROL__ALPHA_SRCBLEND_MASK             = 0x001f0000L;
constexpr unsigned int CB_BLEND3_CONTROL__COLOR_COMB_FCN_MASK             = 0x000000e0L;
constexpr unsigned int CB_BLEND3_CONTROL__COLOR_DESTBLEND_MASK            = 0x00001f00L;
constexpr unsigned int CB_BLEND3_CONTROL__COLOR_SRCBLEND_MASK             = 0x0000001fL;
constexpr unsigned int CB_BLEND3_CONTROL__DISABLE_ROP3_MASK               = 0x80000000L;
constexpr unsigned int CB_BLEND3_CONTROL__ENABLE_MASK                     = 0x40000000L;
constexpr unsigned int CB_BLEND3_CONTROL__SEPARATE_ALPHA_BLEND_MASK       = 0x20000000L;
constexpr unsigned int CB_BLEND4_CONTROL__ALPHA_COMB_FCN_MASK             = 0x00e00000L;
constexpr unsigned int CB_BLEND4_CONTROL__ALPHA_DESTBLEND_MASK            = 0x1f000000L;
constexpr unsigned int CB_BLEND4_CONTROL__ALPHA_SRCBLEND_MASK             = 0x001f0000L;
constexpr unsigned int CB_BLEND4_CONTROL__COLOR_COMB_FCN_MASK             = 0x000000e0L;
constexpr unsigned int CB_BLEND4_CONTROL__COLOR_DESTBLEND_MASK            = 0x00001f00L;
constexpr unsigned int CB_BLEND4_CONTROL__COLOR_SRCBLEND_MASK             = 0x0000001fL;
constexpr unsigned int CB_BLEND4_CONTROL__DISABLE_ROP3_MASK               = 0x80000000L;
constexpr unsigned int CB_BLEND4_CONTROL__ENABLE_MASK                     = 0x40000000L;
constexpr unsigned int CB_BLEND4_CONTROL__SEPARATE_ALPHA_BLEND_MASK       = 0x20000000L;
constexpr unsigned int CB_BLEND5_CONTROL__ALPHA_COMB_FCN_MASK             = 0x00e00000L;
constexpr unsigned int CB_BLEND5_CONTROL__ALPHA_DESTBLEND_MASK            = 0x1f000000L;
constexpr unsigned int CB_BLEND5_CONTROL__ALPHA_SRCBLEND_MASK             = 0x001f0000L;
constexpr unsigned int CB_BLEND5_CONTROL__COLOR_COMB_FCN_MASK             = 0x000000e0L;
constexpr unsigned int CB_BLEND5_CONTROL__COLOR_DESTBLEND_MASK            = 0x00001f00L;
constexpr unsigned int CB_BLEND5_CONTROL__COLOR_SRCBLEND_MASK             = 0x0000001fL;
constexpr unsigned int CB_BLEND5_CONTROL__DISABLE_ROP3_MASK               = 0x80000000L;
constexpr unsigned int CB_BLEND5_CONTROL__ENABLE_MASK                     = 0x40000000L;
constexpr unsigned int CB_BLEND5_CONTROL__SEPARATE_ALPHA_BLEND_MASK       = 0x20000000L;
constexpr unsigned int CB_BLEND6_CONTROL__ALPHA_COMB_FCN_MASK             = 0x00e00000L;
constexpr unsigned int CB_BLEND6_CONTROL__ALPHA_DESTBLEND_MASK            = 0x1f000000L;
constexpr unsigned int CB_BLEND6_CONTROL__ALPHA_SRCBLEND_MASK             = 0x001f0000L;
constexpr unsigned int CB_BLEND6_CONTROL__COLOR_COMB_FCN_MASK             = 0x000000e0L;
constexpr unsigned int CB_BLEND6_CONTROL__COLOR_DESTBLEND_MASK            = 0x00001f00L;
constexpr unsigned int CB_BLEND6_CONTROL__COLOR_SRCBLEND_MASK             = 0x0000001fL;
constexpr unsigned int CB_BLEND6_CONTROL__DISABLE_ROP3_MASK               = 0x80000000L;
constexpr unsigned int CB_BLEND6_CONTROL__ENABLE_MASK                     = 0x40000000L;
constexpr unsigned int CB_BLEND6_CONTROL__SEPARATE_ALPHA_BLEND_MASK       = 0x20000000L;
constexpr unsigned int CB_BLEND7_CONTROL__ALPHA_COMB_FCN_MASK             = 0x00e00000L;
constexpr unsigned int CB_BLEND7_CONTROL__ALPHA_DESTBLEND_MASK            = 0x1f000000L;
constexpr unsigned int CB_BLEND7_CONTROL__ALPHA_SRCBLEND_MASK             = 0x001f0000L;
constexpr unsigned int CB_BLEND7_CONTROL__COLOR_COMB_FCN_MASK             = 0x000000e0L;
constexpr unsigned int CB_BLEND7_CONTROL__COLOR_DESTBLEND_MASK            = 0x00001f00L;
constexpr unsigned int CB_BLEND7_CONTROL__COLOR_SRCBLEND_MASK             = 0x0000001fL;
constexpr unsigned int CB_BLEND7_CONTROL__DISABLE_ROP3_MASK               = 0x80000000L;
constexpr unsigned int CB_BLEND7_CONTROL__ENABLE_MASK                     = 0x40000000L;
constexpr unsigned int CB_BLEND7_CONTROL__SEPARATE_ALPHA_BLEND_MASK       = 0x20000000L;
constexpr unsigned int CB_BLEND_ALPHA__BLEND_ALPHA_MASK                   = 0xffffffffL;
constexpr unsigned int CB_BLEND_BLUE__BLEND_BLUE_MASK                     = 0xffffffffL;
constexpr unsigned int CB_BLEND_GREEN__BLEND_GREEN_MASK                   = 0xffffffffL;
constexpr unsigned int CB_BLEND_RED__BLEND_RED_MASK                       = 0xffffffffL;
constexpr unsigned int CB_COLOR0_ATTRIB2__MAX_MIP_MASK                    = 0xf0000000L;
constexpr unsigned int CB_COLOR0_ATTRIB2__MIP0_HEIGHT_MASK                = 0x00003fffL;
constexpr unsigned int CB_COLOR0_ATTRIB2__MIP0_WIDTH_MASK                 = 0x0fffc000L;
constexpr unsigned int CB_COLOR0_BASE_EXT__BASE_256B_MASK                 = 0x000000ffL;
constexpr unsigned int CB_COLOR0_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int CB_COLOR0_DCC_BASE_EXT__BASE_256B_MASK             = 0x000000ffL;
constexpr unsigned int CB_COLOR0_DCC_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int CB_COLOR0_INFO__BLEND_BYPASS_MASK                  = 0x00010000L;
constexpr unsigned int CB_COLOR0_INFO__BLEND_CLAMP_MASK                   = 0x00008000L;
constexpr unsigned int CB_COLOR0_INFO__BLEND_OPT_DISCARD_PIXEL_MASK       = 0x03800000L;
constexpr unsigned int CB_COLOR0_INFO__BLEND_OPT_DONT_RD_DST_MASK         = 0x00700000L;
constexpr unsigned int CB_COLOR0_INFO__COMP_SWAP_MASK                     = 0x00001800L;
constexpr unsigned int CB_COLOR0_INFO__NUMBER_TYPE_MASK                   = 0x00000700L;
constexpr unsigned int CB_COLOR0_INFO__ROUND_MODE_MASK                    = 0x00040000L;
constexpr unsigned int CB_COLOR0_INFO__SIMPLE_FLOAT_MASK                  = 0x00020000L;
constexpr unsigned int CB_COLOR1_ATTRIB2__MAX_MIP_MASK                    = 0xf0000000L;
constexpr unsigned int CB_COLOR1_ATTRIB2__MIP0_HEIGHT_MASK                = 0x00003fffL;
constexpr unsigned int CB_COLOR1_ATTRIB2__MIP0_WIDTH_MASK                 = 0x0fffc000L;
constexpr unsigned int CB_COLOR1_BASE_EXT__BASE_256B_MASK                 = 0x000000ffL;
constexpr unsigned int CB_COLOR1_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int CB_COLOR1_DCC_BASE_EXT__BASE_256B_MASK             = 0x000000ffL;
constexpr unsigned int CB_COLOR1_DCC_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int CB_COLOR1_INFO__BLEND_BYPASS_MASK                  = 0x00010000L;
constexpr unsigned int CB_COLOR1_INFO__BLEND_CLAMP_MASK                   = 0x00008000L;
constexpr unsigned int CB_COLOR1_INFO__BLEND_OPT_DISCARD_PIXEL_MASK       = 0x03800000L;
constexpr unsigned int CB_COLOR1_INFO__BLEND_OPT_DONT_RD_DST_MASK         = 0x00700000L;
constexpr unsigned int CB_COLOR1_INFO__COMP_SWAP_MASK                     = 0x00001800L;
constexpr unsigned int CB_COLOR1_INFO__NUMBER_TYPE_MASK                   = 0x00000700L;
constexpr unsigned int CB_COLOR1_INFO__ROUND_MODE_MASK                    = 0x00040000L;
constexpr unsigned int CB_COLOR1_INFO__SIMPLE_FLOAT_MASK                  = 0x00020000L;
constexpr unsigned int CB_COLOR2_ATTRIB2__MAX_MIP_MASK                    = 0xf0000000L;
constexpr unsigned int CB_COLOR2_ATTRIB2__MIP0_HEIGHT_MASK                = 0x00003fffL;
constexpr unsigned int CB_COLOR2_ATTRIB2__MIP0_WIDTH_MASK                 = 0x0fffc000L;
constexpr unsigned int CB_COLOR2_BASE_EXT__BASE_256B_MASK                 = 0x000000ffL;
constexpr unsigned int CB_COLOR2_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int CB_COLOR2_DCC_BASE_EXT__BASE_256B_MASK             = 0x000000ffL;
constexpr unsigned int CB_COLOR2_DCC_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int CB_COLOR2_INFO__BLEND_BYPASS_MASK                  = 0x00010000L;
constexpr unsigned int CB_COLOR2_INFO__BLEND_CLAMP_MASK                   = 0x00008000L;
constexpr unsigned int CB_COLOR2_INFO__BLEND_OPT_DISCARD_PIXEL_MASK       = 0x03800000L;
constexpr unsigned int CB_COLOR2_INFO__BLEND_OPT_DONT_RD_DST_MASK         = 0x00700000L;
constexpr unsigned int CB_COLOR2_INFO__COMP_SWAP_MASK                     = 0x00001800L;
constexpr unsigned int CB_COLOR2_INFO__NUMBER_TYPE_MASK                   = 0x00000700L;
constexpr unsigned int CB_COLOR2_INFO__ROUND_MODE_MASK                    = 0x00040000L;
constexpr unsigned int CB_COLOR2_INFO__SIMPLE_FLOAT_MASK                  = 0x00020000L;
constexpr unsigned int CB_COLOR3_ATTRIB2__MAX_MIP_MASK                    = 0xf0000000L;
constexpr unsigned int CB_COLOR3_ATTRIB2__MIP0_HEIGHT_MASK                = 0x00003fffL;
constexpr unsigned int CB_COLOR3_ATTRIB2__MIP0_WIDTH_MASK                 = 0x0fffc000L;
constexpr unsigned int CB_COLOR3_BASE_EXT__BASE_256B_MASK                 = 0x000000ffL;
constexpr unsigned int CB_COLOR3_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int CB_COLOR3_DCC_BASE_EXT__BASE_256B_MASK             = 0x000000ffL;
constexpr unsigned int CB_COLOR3_DCC_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int CB_COLOR3_INFO__BLEND_BYPASS_MASK                  = 0x00010000L;
constexpr unsigned int CB_COLOR3_INFO__BLEND_CLAMP_MASK                   = 0x00008000L;
constexpr unsigned int CB_COLOR3_INFO__BLEND_OPT_DISCARD_PIXEL_MASK       = 0x03800000L;
constexpr unsigned int CB_COLOR3_INFO__BLEND_OPT_DONT_RD_DST_MASK         = 0x00700000L;
constexpr unsigned int CB_COLOR3_INFO__COMP_SWAP_MASK                     = 0x00001800L;
constexpr unsigned int CB_COLOR3_INFO__NUMBER_TYPE_MASK                   = 0x00000700L;
constexpr unsigned int CB_COLOR3_INFO__ROUND_MODE_MASK                    = 0x00040000L;
constexpr unsigned int CB_COLOR3_INFO__SIMPLE_FLOAT_MASK                  = 0x00020000L;
constexpr unsigned int CB_COLOR4_ATTRIB2__MAX_MIP_MASK                    = 0xf0000000L;
constexpr unsigned int CB_COLOR4_ATTRIB2__MIP0_HEIGHT_MASK                = 0x00003fffL;
constexpr unsigned int CB_COLOR4_ATTRIB2__MIP0_WIDTH_MASK                 = 0x0fffc000L;
constexpr unsigned int CB_COLOR4_BASE_EXT__BASE_256B_MASK                 = 0x000000ffL;
constexpr unsigned int CB_COLOR4_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int CB_COLOR4_DCC_BASE_EXT__BASE_256B_MASK             = 0x000000ffL;
constexpr unsigned int CB_COLOR4_DCC_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int CB_COLOR4_INFO__BLEND_BYPASS_MASK                  = 0x00010000L;
constexpr unsigned int CB_COLOR4_INFO__BLEND_CLAMP_MASK                   = 0x00008000L;
constexpr unsigned int CB_COLOR4_INFO__BLEND_OPT_DISCARD_PIXEL_MASK       = 0x03800000L;
constexpr unsigned int CB_COLOR4_INFO__BLEND_OPT_DONT_RD_DST_MASK         = 0x00700000L;
constexpr unsigned int CB_COLOR4_INFO__COMP_SWAP_MASK                     = 0x00001800L;
constexpr unsigned int CB_COLOR4_INFO__NUMBER_TYPE_MASK                   = 0x00000700L;
constexpr unsigned int CB_COLOR4_INFO__ROUND_MODE_MASK                    = 0x00040000L;
constexpr unsigned int CB_COLOR4_INFO__SIMPLE_FLOAT_MASK                  = 0x00020000L;
constexpr unsigned int CB_COLOR5_ATTRIB2__MAX_MIP_MASK                    = 0xf0000000L;
constexpr unsigned int CB_COLOR5_ATTRIB2__MIP0_HEIGHT_MASK                = 0x00003fffL;
constexpr unsigned int CB_COLOR5_ATTRIB2__MIP0_WIDTH_MASK                 = 0x0fffc000L;
constexpr unsigned int CB_COLOR5_BASE_EXT__BASE_256B_MASK                 = 0x000000ffL;
constexpr unsigned int CB_COLOR5_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int CB_COLOR5_DCC_BASE_EXT__BASE_256B_MASK             = 0x000000ffL;
constexpr unsigned int CB_COLOR5_DCC_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int CB_COLOR5_INFO__BLEND_BYPASS_MASK                  = 0x00010000L;
constexpr unsigned int CB_COLOR5_INFO__BLEND_CLAMP_MASK                   = 0x00008000L;
constexpr unsigned int CB_COLOR5_INFO__BLEND_OPT_DISCARD_PIXEL_MASK       = 0x03800000L;
constexpr unsigned int CB_COLOR5_INFO__BLEND_OPT_DONT_RD_DST_MASK         = 0x00700000L;
constexpr unsigned int CB_COLOR5_INFO__COMP_SWAP_MASK                     = 0x00001800L;
constexpr unsigned int CB_COLOR5_INFO__NUMBER_TYPE_MASK                   = 0x00000700L;
constexpr unsigned int CB_COLOR5_INFO__ROUND_MODE_MASK                    = 0x00040000L;
constexpr unsigned int CB_COLOR5_INFO__SIMPLE_FLOAT_MASK                  = 0x00020000L;
constexpr unsigned int CB_COLOR6_ATTRIB2__MAX_MIP_MASK                    = 0xf0000000L;
constexpr unsigned int CB_COLOR6_ATTRIB2__MIP0_HEIGHT_MASK                = 0x00003fffL;
constexpr unsigned int CB_COLOR6_ATTRIB2__MIP0_WIDTH_MASK                 = 0x0fffc000L;
constexpr unsigned int CB_COLOR6_BASE_EXT__BASE_256B_MASK                 = 0x000000ffL;
constexpr unsigned int CB_COLOR6_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int CB_COLOR6_DCC_BASE_EXT__BASE_256B_MASK             = 0x000000ffL;
constexpr unsigned int CB_COLOR6_DCC_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int CB_COLOR6_INFO__BLEND_BYPASS_MASK                  = 0x00010000L;
constexpr unsigned int CB_COLOR6_INFO__BLEND_CLAMP_MASK                   = 0x00008000L;
constexpr unsigned int CB_COLOR6_INFO__BLEND_OPT_DISCARD_PIXEL_MASK       = 0x03800000L;
constexpr unsigned int CB_COLOR6_INFO__BLEND_OPT_DONT_RD_DST_MASK         = 0x00700000L;
constexpr unsigned int CB_COLOR6_INFO__COMP_SWAP_MASK                     = 0x00001800L;
constexpr unsigned int CB_COLOR6_INFO__NUMBER_TYPE_MASK                   = 0x00000700L;
constexpr unsigned int CB_COLOR6_INFO__ROUND_MODE_MASK                    = 0x00040000L;
constexpr unsigned int CB_COLOR6_INFO__SIMPLE_FLOAT_MASK                  = 0x00020000L;
constexpr unsigned int CB_COLOR7_ATTRIB2__MAX_MIP_MASK                    = 0xf0000000L;
constexpr unsigned int CB_COLOR7_ATTRIB2__MIP0_HEIGHT_MASK                = 0x00003fffL;
constexpr unsigned int CB_COLOR7_ATTRIB2__MIP0_WIDTH_MASK                 = 0x0fffc000L;
constexpr unsigned int CB_COLOR7_BASE_EXT__BASE_256B_MASK                 = 0x000000ffL;
constexpr unsigned int CB_COLOR7_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int CB_COLOR7_DCC_BASE_EXT__BASE_256B_MASK             = 0x000000ffL;
constexpr unsigned int CB_COLOR7_DCC_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int CB_COLOR7_INFO__BLEND_BYPASS_MASK                  = 0x00010000L;
constexpr unsigned int CB_COLOR7_INFO__BLEND_CLAMP_MASK                   = 0x00008000L;
constexpr unsigned int CB_COLOR7_INFO__BLEND_OPT_DISCARD_PIXEL_MASK       = 0x03800000L;
constexpr unsigned int CB_COLOR7_INFO__BLEND_OPT_DONT_RD_DST_MASK         = 0x00700000L;
constexpr unsigned int CB_COLOR7_INFO__COMP_SWAP_MASK                     = 0x00001800L;
constexpr unsigned int CB_COLOR7_INFO__NUMBER_TYPE_MASK                   = 0x00000700L;
constexpr unsigned int CB_COLOR7_INFO__ROUND_MODE_MASK                    = 0x00040000L;
constexpr unsigned int CB_COLOR7_INFO__SIMPLE_FLOAT_MASK                  = 0x00020000L;
constexpr unsigned int CB_COLOR_CONTROL__DEGAMMA_ENABLE_MASK              = 0x00000008L;
constexpr unsigned int CB_COLOR_CONTROL__DISABLE_DUAL_QUAD_MASK           = 0x00000001L;
constexpr unsigned int CB_COLOR_CONTROL__MODE_MASK                        = 0x00000070L;
constexpr unsigned int CB_COLOR_CONTROL__ROP3_MASK                        = 0x00ff0000L;
constexpr unsigned int CB_DCC_CONFIG__FC_RDLAT_KEYID_FIFO_DEPTH_MASK      = 0x0000ff00L;
constexpr unsigned int CB_HW_CONTROL_3__DISABLE_FAST_CLEAR_FETCH_OPT_MASK = 0x00000004L;
constexpr unsigned int CB_HW_CONTROL_3__DISABLE_SLOW_MODE_EMPTY_HALF_QUAD_KILL_MASK = 0x00000001L;
constexpr unsigned int CB_HW_CONTROL_3__RAM_ADDRESS_CONFLICTS_DISALLOWED_MASK = 0x00000002L;
constexpr unsigned int CB_HW_CONTROL__DISABLE_BLEND_OPT_BYPASS_MASK       = 0x02000000L;
constexpr unsigned int CB_HW_CONTROL__DISABLE_BLEND_OPT_DISCARD_PIXEL_MASK = 0x04000000L;
constexpr unsigned int CB_HW_CONTROL__DISABLE_BLEND_OPT_DONT_RD_DST_MASK  = 0x01000000L;
constexpr unsigned int CB_HW_CONTROL__DISABLE_BLEND_OPT_RESULT_EQ_DEST_MASK = 0x00200000L;
constexpr unsigned int CB_HW_CONTROL__DISABLE_BLEND_OPT_WHEN_DISABLED_SRCALPHA_IS_USED_MASK = 0x08000000L;
constexpr unsigned int CB_HW_CONTROL__DISABLE_CC_IB_SERIALIZER_STATE_OPT_MASK = 0x40000000L;
constexpr unsigned int CB_HW_CONTROL__DISABLE_FULL_WRITE_MASK_MASK        = 0x00400000L;
constexpr unsigned int CB_HW_CONTROL__DISABLE_PIXEL_IN_QUAD_FIX_FOR_LINEAR_SURFACE_MASK = 0x80000000L;
constexpr unsigned int CB_HW_CONTROL__FORCE_ALWAYS_TOGGLE_MASK            = 0x00100000L;
constexpr unsigned int CB_HW_CONTROL__FORCE_NEEDS_DST_MASK                = 0x00080000L;
constexpr unsigned int CB_HW_CONTROL__PRIORITIZE_FC_EVICT_OVER_FOP_RD_ON_BANK_CONFLICT_MASK = 0x20000000L;
constexpr unsigned int CB_HW_MEM_ARBITER_RD__BREAK_GROUP_AGE_MASK         = 0x000003c0L;
constexpr unsigned int CB_HW_MEM_ARBITER_RD__IGNORE_URGENT_AGE_MASK       = 0x0000003cL;
constexpr unsigned int CB_HW_MEM_ARBITER_RD__MODE_MASK                    = 0x00000003L;
constexpr unsigned int CB_HW_MEM_ARBITER_RD__WEIGHT_CC_MASK               = 0x00000c00L;
constexpr unsigned int CB_HW_MEM_ARBITER_WR__BREAK_GROUP_AGE_MASK         = 0x000003c0L;
constexpr unsigned int CB_HW_MEM_ARBITER_WR__IGNORE_URGENT_AGE_MASK       = 0x0000003cL;
constexpr unsigned int CB_HW_MEM_ARBITER_WR__MODE_MASK                    = 0x00000003L;
constexpr unsigned int CB_HW_MEM_ARBITER_WR__WEIGHT_CC_MASK               = 0x00000c00L;
constexpr unsigned int CB_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int CB_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int CB_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
constexpr unsigned int CB_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
constexpr unsigned int CB_PERFCOUNTER0_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int CB_PERFCOUNTER0_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
constexpr unsigned int CB_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int CB_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int CB_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int CB_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int CB_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int CB_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int CB_PERFCOUNTER2_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int CB_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int CB_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int CB_PERFCOUNTER3_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__CLEAR_FILTER_ENABLE_MASK    = 0x00000400L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__CLEAR_FILTER_SEL_MASK       = 0x00000800L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__FORMAT_FILTER_ENABLE_MASK   = 0x00000010L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__FORMAT_FILTER_SEL_MASK      = 0x000003e0L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__MRT_FILTER_ENABLE_MASK      = 0x00001000L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__MRT_FILTER_SEL_MASK         = 0x0000e000L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__NUM_FRAGMENTS_FILTER_ENABLE_MASK = 0x00200000L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__NUM_FRAGMENTS_FILTER_SEL_MASK = 0x00c00000L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__NUM_SAMPLES_FILTER_ENABLE_MASK = 0x00020000L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__NUM_SAMPLES_FILTER_SEL_MASK = 0x001c0000L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__OP_FILTER_ENABLE_MASK       = 0x00000001L;
constexpr unsigned int CB_PERFCOUNTER_FILTER__OP_FILTER_SEL_MASK          = 0x0000000eL;
constexpr unsigned int CB_SHADER_MASK__OUTPUT0_ENABLE_MASK                = 0x0000000fL;
constexpr unsigned int CB_SHADER_MASK__OUTPUT1_ENABLE_MASK                = 0x000000f0L;
constexpr unsigned int CB_SHADER_MASK__OUTPUT2_ENABLE_MASK                = 0x00000f00L;
constexpr unsigned int CB_SHADER_MASK__OUTPUT3_ENABLE_MASK                = 0x0000f000L;
constexpr unsigned int CB_SHADER_MASK__OUTPUT4_ENABLE_MASK                = 0x000f0000L;
constexpr unsigned int CB_SHADER_MASK__OUTPUT5_ENABLE_MASK                = 0x00f00000L;
constexpr unsigned int CB_SHADER_MASK__OUTPUT6_ENABLE_MASK                = 0x0f000000L;
constexpr unsigned int CB_SHADER_MASK__OUTPUT7_ENABLE_MASK                = 0xf0000000L;
constexpr unsigned int CB_TARGET_MASK__TARGET0_ENABLE_MASK                = 0x0000000fL;
constexpr unsigned int CB_TARGET_MASK__TARGET1_ENABLE_MASK                = 0x000000f0L;
constexpr unsigned int CB_TARGET_MASK__TARGET2_ENABLE_MASK                = 0x00000f00L;
constexpr unsigned int CB_TARGET_MASK__TARGET3_ENABLE_MASK                = 0x0000f000L;
constexpr unsigned int CB_TARGET_MASK__TARGET4_ENABLE_MASK                = 0x000f0000L;
constexpr unsigned int CB_TARGET_MASK__TARGET5_ENABLE_MASK                = 0x00f00000L;
constexpr unsigned int CB_TARGET_MASK__TARGET6_ENABLE_MASK                = 0x0f000000L;
constexpr unsigned int CB_TARGET_MASK__TARGET7_ENABLE_MASK                = 0xf0000000L;
constexpr unsigned int COHER_DEST_BASE_0__DEST_BASE_256B_MASK             = 0xffffffffL;
constexpr unsigned int COHER_DEST_BASE_1__DEST_BASE_256B_MASK             = 0xffffffffL;
constexpr unsigned int COHER_DEST_BASE_2__DEST_BASE_256B_MASK             = 0xffffffffL;
constexpr unsigned int COHER_DEST_BASE_3__DEST_BASE_256B_MASK             = 0xffffffffL;
constexpr unsigned int COHER_DEST_BASE_HI_0__DEST_BASE_HI_256B_MASK       = 0x000000ffL;
constexpr unsigned int COHER_DEST_BASE_HI_1__DEST_BASE_HI_256B_MASK       = 0x000000ffL;
constexpr unsigned int COHER_DEST_BASE_HI_2__DEST_BASE_HI_256B_MASK       = 0x000000ffL;
constexpr unsigned int COHER_DEST_BASE_HI_3__DEST_BASE_HI_256B_MASK       = 0x000000ffL;
constexpr unsigned int COMPUTE_DIM_X__SIZE_MASK                           = 0xffffffffL;
constexpr unsigned int COMPUTE_DIM_Y__SIZE_MASK                           = 0xffffffffL;
constexpr unsigned int COMPUTE_DIM_Z__SIZE_MASK                           = 0xffffffffL;
constexpr unsigned int COMPUTE_DISPATCH_ID__DISPATCH_ID_MASK              = 0xffffffffL;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__COMPUTE_SHADER_EN_MASK = 0x00000001L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__FORCE_START_AT_000_MASK = 0x00000004L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__ORDERED_APPEND_ENBL_MASK = 0x00000008L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__ORDERED_APPEND_MODE_MASK = 0x00000010L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__ORDER_MODE_MASK        = 0x00000040L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__PARTIAL_TG_EN_MASK     = 0x00000002L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__RESERVED_MASK          = 0x00001000L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__RESTORE_MASK           = 0x00004000L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__SCALAR_L1_INV_VOL_MASK = 0x00000400L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__USE_THREAD_DIMENSIONS_MASK = 0x00000020L;
constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__VECTOR_L1_INV_VOL_MASK = 0x00000800L;
constexpr unsigned int COMPUTE_DISPATCH_PKT_ADDR_HI__DATA_MASK            = 0x000000ffL;
constexpr unsigned int COMPUTE_DISPATCH_PKT_ADDR_LO__DATA_MASK            = 0xffffffffL;
constexpr unsigned int COMPUTE_DISPATCH_SCRATCH_BASE_HI__DATA_MASK        = 0x000000ffL;
constexpr unsigned int COMPUTE_DISPATCH_SCRATCH_BASE_LO__DATA_MASK        = 0xffffffffL;
constexpr unsigned int COMPUTE_MISC_RESERVED__RESERVED3_MASK              = 0x00000008L;
constexpr unsigned int COMPUTE_MISC_RESERVED__RESERVED4_MASK              = 0x00000010L;
constexpr unsigned int COMPUTE_MISC_RESERVED__WAVE_ID_BASE_MASK           = 0x0001ffe0L;
constexpr unsigned int COMPUTE_NOWHERE__DATA_MASK                         = 0xffffffffL;
constexpr unsigned int COMPUTE_NUM_THREAD_X__NUM_THREAD_FULL_MASK         = 0x0000ffffL;
constexpr unsigned int COMPUTE_NUM_THREAD_X__NUM_THREAD_PARTIAL_MASK      = 0xffff0000L;
constexpr unsigned int COMPUTE_NUM_THREAD_Y__NUM_THREAD_FULL_MASK         = 0x0000ffffL;
constexpr unsigned int COMPUTE_NUM_THREAD_Y__NUM_THREAD_PARTIAL_MASK      = 0xffff0000L;
constexpr unsigned int COMPUTE_NUM_THREAD_Z__NUM_THREAD_FULL_MASK         = 0x0000ffffL;
constexpr unsigned int COMPUTE_NUM_THREAD_Z__NUM_THREAD_PARTIAL_MASK      = 0xffff0000L;
constexpr unsigned int COMPUTE_PERFCOUNT_ENABLE__PERFCOUNT_ENABLE_MASK    = 0x00000001L;
constexpr unsigned int COMPUTE_PGM_HI__DATA_MASK                          = 0x000000ffL;
constexpr unsigned int COMPUTE_PGM_LO__DATA_MASK                          = 0xffffffffL;
constexpr unsigned int COMPUTE_PGM_RSRC1__BULKY_MASK                      = 0x01000000L;
constexpr unsigned int COMPUTE_PGM_RSRC1__CDBG_USER_MASK                  = 0x02000000L;
constexpr unsigned int COMPUTE_PGM_RSRC1__DEBUG_MODE_MASK                 = 0x00400000L;
constexpr unsigned int COMPUTE_PGM_RSRC1__DX10_CLAMP_MASK                 = 0x00200000L;
constexpr unsigned int COMPUTE_PGM_RSRC1__FLOAT_MODE_MASK                 = 0x000ff000L;
constexpr unsigned int COMPUTE_PGM_RSRC1__FP16_OVFL_MASK                  = 0x04000000L;
constexpr unsigned int COMPUTE_PGM_RSRC1__IEEE_MODE_MASK                  = 0x00800000L;
constexpr unsigned int COMPUTE_PGM_RSRC1__PRIORITY_MASK                   = 0x00000c00L;
constexpr unsigned int COMPUTE_PGM_RSRC1__PRIV_MASK                       = 0x00100000L;
constexpr unsigned int COMPUTE_PGM_RSRC1__SGPRS_MASK                      = 0x000003c0L;
constexpr unsigned int COMPUTE_PGM_RSRC1__VGPRS_MASK                      = 0x0000003fL;
constexpr unsigned int COMPUTE_PGM_RSRC2__EXCP_EN_MASK                    = 0x7f000000L;
constexpr unsigned int COMPUTE_PGM_RSRC2__EXCP_EN_MSB_MASK                = 0x00006000L;
constexpr unsigned int COMPUTE_PGM_RSRC2__LDS_SIZE_MASK                   = 0x00ff8000L;
constexpr unsigned int COMPUTE_PGM_RSRC2__SCRATCH_EN_MASK                 = 0x00000001L;
constexpr unsigned int COMPUTE_PGM_RSRC2__TGID_X_EN_MASK                  = 0x00000080L;
constexpr unsigned int COMPUTE_PGM_RSRC2__TGID_Y_EN_MASK                  = 0x00000100L;
constexpr unsigned int COMPUTE_PGM_RSRC2__TGID_Z_EN_MASK                  = 0x00000200L;
constexpr unsigned int COMPUTE_PGM_RSRC2__TG_SIZE_EN_MASK                 = 0x00000400L;
constexpr unsigned int COMPUTE_PGM_RSRC2__TIDIG_COMP_CNT_MASK             = 0x00001800L;
constexpr unsigned int COMPUTE_PGM_RSRC2__TRAP_PRESENT_MASK               = 0x00000040L;
constexpr unsigned int COMPUTE_PGM_RSRC2__USER_SGPR_MASK                  = 0x0000003eL;
constexpr unsigned int COMPUTE_PIPELINESTAT_ENABLE__PIPELINESTAT_ENABLE_MASK = 0x00000001L;
constexpr unsigned int COMPUTE_RELAUNCH__IS_EVENT_MASK                    = 0x40000000L;
constexpr unsigned int COMPUTE_RELAUNCH__IS_STATE_MASK                    = 0x80000000L;
constexpr unsigned int COMPUTE_RELAUNCH__PAYLOAD_MASK                     = 0x3fffffffL;
constexpr unsigned int COMPUTE_RESOURCE_LIMITS__CU_GROUP_COUNT_MASK       = 0x07000000L;
constexpr unsigned int COMPUTE_RESOURCE_LIMITS__FORCE_SIMD_DIST_MASK      = 0x00800000L;
constexpr unsigned int COMPUTE_RESOURCE_LIMITS__LOCK_THRESHOLD_MASK       = 0x003f0000L;
constexpr unsigned int COMPUTE_RESOURCE_LIMITS__SIMD_DEST_CNTL_MASK       = 0x00400000L;
constexpr unsigned int COMPUTE_RESOURCE_LIMITS__TG_PER_CU_MASK            = 0x0000f000L;
constexpr unsigned int COMPUTE_RESOURCE_LIMITS__WAVES_PER_SH_MASK         = 0x000003ffL;
constexpr unsigned int COMPUTE_RESTART_X__RESTART_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_RESTART_Y__RESTART_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_RESTART_Z__RESTART_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_START_X__START_MASK                        = 0xffffffffL;
constexpr unsigned int COMPUTE_START_Y__START_MASK                        = 0xffffffffL;
constexpr unsigned int COMPUTE_START_Z__START_MASK                        = 0xffffffffL;
constexpr unsigned int COMPUTE_THREADGROUP_ID__THREADGROUP_ID_MASK        = 0xffffffffL;
constexpr unsigned int COMPUTE_THREAD_TRACE_ENABLE__THREAD_TRACE_ENABLE_MASK = 0x00000001L;
constexpr unsigned int COMPUTE_TMPRING_SIZE__WAVESIZE_MASK                = 0x01fff000L;
constexpr unsigned int COMPUTE_TMPRING_SIZE__WAVES_MASK                   = 0x00000fffL;
constexpr unsigned int COMPUTE_USER_DATA_0__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_1__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_2__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_3__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_4__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_5__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_6__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_7__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_8__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_9__DATA_MASK                     = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_10__DATA_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_11__DATA_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_12__DATA_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_13__DATA_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_14__DATA_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_USER_DATA_15__DATA_MASK                    = 0xffffffffL;
constexpr unsigned int COMPUTE_VMID__DATA_MASK                            = 0x0000000fL;
constexpr unsigned int COMPUTE_WAVE_RESTORE_ADDR_HI__ADDR_MASK            = 0x0000ffffL;
constexpr unsigned int COMPUTE_WAVE_RESTORE_ADDR_LO__ADDR_MASK            = 0xffffffffL;
constexpr unsigned int CPC_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int CPC_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int CPC_PERFCOUNTER0_SELECT1__CNTR_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int CPC_PERFCOUNTER0_SELECT1__CNTR_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int CPC_PERFCOUNTER0_SELECT__CNTR_MODE0_MASK           = 0xf0000000L;
constexpr unsigned int CPC_PERFCOUNTER0_SELECT__CNTR_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int CPC_PERFCOUNTER0_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int CPC_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int CPC_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int CPC_PERFCOUNTER1_SELECT__CNTR_MODE0_MASK           = 0xf0000000L;
constexpr unsigned int CPC_PERFCOUNTER1_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int CPF_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int CPF_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int CPF_PERFCOUNTER0_SELECT1__CNTR_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int CPF_PERFCOUNTER0_SELECT1__CNTR_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int CPF_PERFCOUNTER0_SELECT__CNTR_MODE0_MASK           = 0xf0000000L;
constexpr unsigned int CPF_PERFCOUNTER0_SELECT__CNTR_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int CPF_PERFCOUNTER0_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int CPF_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int CPF_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int CPF_PERFCOUNTER1_SELECT__CNTR_MODE0_MASK           = 0xf0000000L;
constexpr unsigned int CPF_PERFCOUNTER1_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int CPG_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int CPG_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int CPG_PERFCOUNTER0_SELECT1__CNTR_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int CPG_PERFCOUNTER0_SELECT1__CNTR_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int CPG_PERFCOUNTER0_SELECT__CNTR_MODE0_MASK           = 0xf0000000L;
constexpr unsigned int CPG_PERFCOUNTER0_SELECT__CNTR_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int CPG_PERFCOUNTER0_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int CPG_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int CPG_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int CPG_PERFCOUNTER1_SELECT__CNTR_MODE0_MASK           = 0xf0000000L;
constexpr unsigned int CPG_PERFCOUNTER1_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int CP_ME_COHER_BASE_HI__COHER_BASE_HI_256B_MASK       = 0x000000ffL;
constexpr unsigned int CP_ME_COHER_BASE__COHER_BASE_256B_MASK             = 0xffffffffL;
constexpr unsigned int CP_ME_COHER_CNTL__CB0_DEST_BASE_ENA_MASK           = 0x00000040L;
constexpr unsigned int CP_ME_COHER_CNTL__CB1_DEST_BASE_ENA_MASK           = 0x00000080L;
constexpr unsigned int CP_ME_COHER_CNTL__CB2_DEST_BASE_ENA_MASK           = 0x00000100L;
constexpr unsigned int CP_ME_COHER_CNTL__CB3_DEST_BASE_ENA_MASK           = 0x00000200L;
constexpr unsigned int CP_ME_COHER_CNTL__CB4_DEST_BASE_ENA_MASK           = 0x00000400L;
constexpr unsigned int CP_ME_COHER_CNTL__CB5_DEST_BASE_ENA_MASK           = 0x00000800L;
constexpr unsigned int CP_ME_COHER_CNTL__CB6_DEST_BASE_ENA_MASK           = 0x00001000L;
constexpr unsigned int CP_ME_COHER_CNTL__CB7_DEST_BASE_ENA_MASK           = 0x00002000L;
constexpr unsigned int CP_ME_COHER_CNTL__DB_DEST_BASE_ENA_MASK            = 0x00004000L;
constexpr unsigned int CP_ME_COHER_CNTL__DEST_BASE_0_ENA_MASK             = 0x00000001L;
constexpr unsigned int CP_ME_COHER_CNTL__DEST_BASE_1_ENA_MASK             = 0x00000002L;
constexpr unsigned int CP_ME_COHER_CNTL__DEST_BASE_2_ENA_MASK             = 0x00080000L;
constexpr unsigned int CP_ME_COHER_CNTL__DEST_BASE_3_ENA_MASK             = 0x00200000L;
constexpr unsigned int CP_ME_COHER_SIZE_HI__COHER_SIZE_HI_256B_MASK       = 0x000000ffL;
constexpr unsigned int CP_ME_COHER_SIZE__COHER_SIZE_256B_MASK             = 0xffffffffL;
constexpr unsigned int CP_ME_COHER_STATUS__MATCHING_GFX_CNTX_MASK         = 0x000000ffL;
constexpr unsigned int CP_ME_COHER_STATUS__STATUS_MASK                    = 0x80000000L;
constexpr unsigned int CP_PERFMON_CNTL__PERFMON_ENABLE_MODE_MASK          = 0x00000300L;
constexpr unsigned int CP_PERFMON_CNTL__PERFMON_SAMPLE_ENABLE_MASK        = 0x00000400L;
constexpr unsigned int CP_PERFMON_CNTL__PERFMON_STATE_MASK                = 0x0000000fL;
constexpr unsigned int CP_PERFMON_CNTL__SPM_PERFMON_STATE_MASK            = 0x000000f0L;
constexpr unsigned int CP_PERFMON_CNTX_CNTL__PERFMON_ENABLE_MASK          = 0x80000000L;
constexpr unsigned int CP_SC_PSINVOC_COUNT0_HI__PSINVOC_COUNT0_HI_MASK    = 0xffffffffL;
constexpr unsigned int CP_SC_PSINVOC_COUNT0_LO__PSINVOC_COUNT0_LO_MASK    = 0xffffffffL;
constexpr unsigned int CP_SC_PSINVOC_COUNT1_HI__OBSOLETE_MASK             = 0xffffffffL;
constexpr unsigned int CP_SC_PSINVOC_COUNT1_LO__OBSOLETE_MASK             = 0xffffffffL;
constexpr unsigned int CP_VGT_CSINVOC_COUNT_HI__CSINVOC_COUNT_HI_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_CSINVOC_COUNT_LO__CSINVOC_COUNT_LO_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_DSINVOC_COUNT_HI__DSINVOC_COUNT_HI_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_DSINVOC_COUNT_LO__DSINVOC_COUNT_LO_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_GSINVOC_COUNT_HI__GSINVOC_COUNT_HI_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_GSINVOC_COUNT_LO__GSINVOC_COUNT_LO_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_GSPRIM_COUNT_HI__GSPRIM_COUNT_HI_MASK       = 0xffffffffL;
constexpr unsigned int CP_VGT_GSPRIM_COUNT_LO__GSPRIM_COUNT_LO_MASK       = 0xffffffffL;
constexpr unsigned int CP_VGT_HSINVOC_COUNT_HI__HSINVOC_COUNT_HI_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_HSINVOC_COUNT_LO__HSINVOC_COUNT_LO_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_IAPRIM_COUNT_HI__IAPRIM_COUNT_HI_MASK       = 0xffffffffL;
constexpr unsigned int CP_VGT_IAPRIM_COUNT_LO__IAPRIM_COUNT_LO_MASK       = 0xffffffffL;
constexpr unsigned int CP_VGT_IAVERT_COUNT_HI__IAVERT_COUNT_HI_MASK       = 0xffffffffL;
constexpr unsigned int CP_VGT_IAVERT_COUNT_LO__IAVERT_COUNT_LO_MASK       = 0xffffffffL;
constexpr unsigned int CP_VGT_VSINVOC_COUNT_HI__VSINVOC_COUNT_HI_MASK     = 0xffffffffL;
constexpr unsigned int CP_VGT_VSINVOC_COUNT_LO__VSINVOC_COUNT_LO_MASK     = 0xffffffffL;
constexpr unsigned int DB_ALPHA_TO_MASK__ALPHA_TO_MASK_ENABLE_MASK        = 0x00000001L;
constexpr unsigned int DB_ALPHA_TO_MASK__ALPHA_TO_MASK_OFFSET0_MASK       = 0x00000300L;
constexpr unsigned int DB_ALPHA_TO_MASK__ALPHA_TO_MASK_OFFSET1_MASK       = 0x00000c00L;
constexpr unsigned int DB_ALPHA_TO_MASK__ALPHA_TO_MASK_OFFSET2_MASK       = 0x00003000L;
constexpr unsigned int DB_ALPHA_TO_MASK__ALPHA_TO_MASK_OFFSET3_MASK       = 0x0000c000L;
constexpr unsigned int DB_ALPHA_TO_MASK__OFFSET_ROUND_MASK                = 0x00010000L;
constexpr unsigned int DB_COUNT_CONTROL__DBFAIL_ENABLE_MASK               = 0x00f00000L;
constexpr unsigned int DB_COUNT_CONTROL__PERFECT_ZPASS_COUNTS_MASK        = 0x00000002L;
constexpr unsigned int DB_COUNT_CONTROL__SAMPLE_RATE_MASK                 = 0x00000070L;
constexpr unsigned int DB_COUNT_CONTROL__SFAIL_ENABLE_MASK                = 0x000f0000L;
constexpr unsigned int DB_COUNT_CONTROL__SLICE_EVEN_ENABLE_MASK           = 0x0f000000L;
constexpr unsigned int DB_COUNT_CONTROL__SLICE_ODD_ENABLE_MASK            = 0xf0000000L;
constexpr unsigned int DB_COUNT_CONTROL__ZFAIL_ENABLE_MASK                = 0x0000f000L;
constexpr unsigned int DB_COUNT_CONTROL__ZPASS_ENABLE_MASK                = 0x00000f00L;
constexpr unsigned int DB_COUNT_CONTROL__ZPASS_INCREMENT_DISABLE_MASK     = 0x00000001L;
constexpr unsigned int DB_CREDIT_LIMIT__DB_CB_LQUAD_CREDITS_MASK          = 0x00001c00L;
constexpr unsigned int DB_CREDIT_LIMIT__DB_SC_QUAD_CREDITS_MASK           = 0x000003e0L;
constexpr unsigned int DB_CREDIT_LIMIT__DB_SC_TILE_CREDITS_MASK           = 0x0000001fL;
constexpr unsigned int DB_DEPTH_BOUNDS_MAX__MAX_MASK                      = 0xffffffffL;
constexpr unsigned int DB_DEPTH_BOUNDS_MIN__MIN_MASK                      = 0xffffffffL;
constexpr unsigned int DB_DEPTH_CLEAR__DEPTH_CLEAR_MASK                   = 0xffffffffL;
constexpr unsigned int DB_DEPTH_CONTROL__BACKFACE_ENABLE_MASK             = 0x00000080L;
constexpr unsigned int DB_DEPTH_CONTROL__DEPTH_BOUNDS_ENABLE_MASK         = 0x00000008L;
constexpr unsigned int DB_DEPTH_CONTROL__DISABLE_COLOR_WRITES_ON_DEPTH_PASS_MASK = 0x80000000L;
constexpr unsigned int DB_DEPTH_CONTROL__ENABLE_COLOR_WRITES_ON_DEPTH_FAIL_MASK = 0x40000000L;
constexpr unsigned int DB_DEPTH_CONTROL__STENCILFUNC_BF_MASK              = 0x00700000L;
constexpr unsigned int DB_DEPTH_CONTROL__STENCILFUNC_MASK                 = 0x00000700L;
constexpr unsigned int DB_DEPTH_CONTROL__STENCIL_ENABLE_MASK              = 0x00000001L;
constexpr unsigned int DB_DEPTH_CONTROL__ZFUNC_MASK                       = 0x00000070L;
constexpr unsigned int DB_DEPTH_CONTROL__Z_ENABLE_MASK                    = 0x00000002L;
constexpr unsigned int DB_DEPTH_CONTROL__Z_WRITE_ENABLE_MASK              = 0x00000004L;
constexpr unsigned int DB_DEPTH_VIEW__MIPID_MASK                          = 0x3c000000L;
constexpr unsigned int DB_DEPTH_VIEW__SLICE_MAX_MASK                      = 0x00ffe000L;
constexpr unsigned int DB_DEPTH_VIEW__SLICE_START_MASK                    = 0x000007ffL;
constexpr unsigned int DB_DEPTH_VIEW__STENCIL_READ_ONLY_MASK              = 0x02000000L;
constexpr unsigned int DB_DEPTH_VIEW__Z_READ_ONLY_MASK                    = 0x01000000L;
constexpr unsigned int DB_EQAA__ALPHA_TO_MASK_EQAA_DISABLE_MASK           = 0x00200000L;
constexpr unsigned int DB_EQAA__ALPHA_TO_MASK_NUM_SAMPLES_MASK            = 0x00007000L;
constexpr unsigned int DB_EQAA__ENABLE_POSTZ_OVERRASTERIZATION_MASK       = 0x08000000L;
constexpr unsigned int DB_EQAA__HIGH_QUALITY_INTERSECTIONS_MASK           = 0x00010000L;
constexpr unsigned int DB_EQAA__INCOHERENT_EQAA_READS_MASK                = 0x00020000L;
constexpr unsigned int DB_EQAA__INTERPOLATE_COMP_Z_MASK                   = 0x00040000L;
constexpr unsigned int DB_EQAA__INTERPOLATE_SRC_Z_MASK                    = 0x00080000L;
constexpr unsigned int DB_EQAA__MASK_EXPORT_NUM_SAMPLES_MASK              = 0x00000700L;
constexpr unsigned int DB_EQAA__MAX_ANCHOR_SAMPLES_MASK                   = 0x00000007L;
constexpr unsigned int DB_EQAA__OVERRASTERIZATION_AMOUNT_MASK             = 0x07000000L;
constexpr unsigned int DB_EQAA__PS_ITER_SAMPLES_MASK                      = 0x00000070L;
constexpr unsigned int DB_EQAA__STATIC_ANCHOR_ASSOCIATIONS_MASK           = 0x00100000L;
constexpr unsigned int DB_EXCEPTION_CONTROL__EARLY_Z_PANIC_DISABLE_MASK   = 0x00000001L;
constexpr unsigned int DB_EXCEPTION_CONTROL__LATE_Z_PANIC_DISABLE_MASK    = 0x00000002L;
constexpr unsigned int DB_EXCEPTION_CONTROL__RE_Z_PANIC_DISABLE_MASK      = 0x00000004L;
constexpr unsigned int DB_FIFO_DEPTH2__EQUAD_FIFO_DEPTH_MASK              = 0x000000ffL;
constexpr unsigned int DB_FIFO_DEPTH2__LTILE_OP_FIFO_DEPTH_MASK           = 0xfe000000L;
constexpr unsigned int DB_HTILE_DATA_BASE_HI__BASE_HI_MASK                = 0x000000ffL;
constexpr unsigned int DB_HTILE_DATA_BASE__BASE_256B_MASK                 = 0xffffffffL;
constexpr unsigned int DB_HTILE_SURFACE__DST_OUTSIDE_ZERO_TO_ONE_MASK     = 0x00010000L;
constexpr unsigned int DB_HTILE_SURFACE__FULL_CACHE_MASK                  = 0x00000002L;
constexpr unsigned int DB_HTILE_SURFACE__PIPE_ALIGNED_MASK                = 0x00040000L;
constexpr unsigned int DB_MEM_ARB_WATERMARKS__CLIENT0_WATERMARK_MASK      = 0x00000007L;
constexpr unsigned int DB_MEM_ARB_WATERMARKS__CLIENT1_WATERMARK_MASK      = 0x00000700L;
constexpr unsigned int DB_MEM_ARB_WATERMARKS__CLIENT2_WATERMARK_MASK      = 0x00070000L;
constexpr unsigned int DB_MEM_ARB_WATERMARKS__CLIENT3_WATERMARK_MASK      = 0x07000000L;
constexpr unsigned int DB_OCCLUSION_COUNT0_HI__COUNT_HI_MASK              = 0x7fffffffL;
constexpr unsigned int DB_OCCLUSION_COUNT0_LOW__COUNT_LOW_MASK            = 0xffffffffL;
constexpr unsigned int DB_OCCLUSION_COUNT1_HI__COUNT_HI_MASK              = 0x7fffffffL;
constexpr unsigned int DB_OCCLUSION_COUNT1_LOW__COUNT_LOW_MASK            = 0xffffffffL;
constexpr unsigned int DB_OCCLUSION_COUNT2_HI__COUNT_HI_MASK              = 0x7fffffffL;
constexpr unsigned int DB_OCCLUSION_COUNT2_LOW__COUNT_LOW_MASK            = 0xffffffffL;
constexpr unsigned int DB_OCCLUSION_COUNT3_HI__COUNT_HI_MASK              = 0x7fffffffL;
constexpr unsigned int DB_OCCLUSION_COUNT3_LOW__COUNT_LOW_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
constexpr unsigned int DB_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
constexpr unsigned int DB_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
constexpr unsigned int DB_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
constexpr unsigned int DB_PERFCOUNTER0_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int DB_PERFCOUNTER0_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
constexpr unsigned int DB_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int DB_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
constexpr unsigned int DB_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000003ffL;
constexpr unsigned int DB_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
constexpr unsigned int DB_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
constexpr unsigned int DB_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
constexpr unsigned int DB_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
constexpr unsigned int DB_PERFCOUNTER1_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int DB_PERFCOUNTER1_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
constexpr unsigned int DB_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int DB_PERFCOUNTER1_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
constexpr unsigned int DB_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000003ffL;
constexpr unsigned int DB_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER2_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int DB_PERFCOUNTER2_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
constexpr unsigned int DB_PERFCOUNTER2_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int DB_PERFCOUNTER2_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
constexpr unsigned int DB_PERFCOUNTER2_SELECT__PERF_SEL_MASK              = 0x000003ffL;
constexpr unsigned int DB_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int DB_PERFCOUNTER3_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int DB_PERFCOUNTER3_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
constexpr unsigned int DB_PERFCOUNTER3_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int DB_PERFCOUNTER3_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
constexpr unsigned int DB_PERFCOUNTER3_SELECT__PERF_SEL_MASK              = 0x000003ffL;
constexpr unsigned int DB_PRELOAD_CONTROL__MAX_X_MASK                     = 0x00ff0000L;
constexpr unsigned int DB_PRELOAD_CONTROL__MAX_Y_MASK                     = 0xff000000L;
constexpr unsigned int DB_PRELOAD_CONTROL__START_X_MASK                   = 0x000000ffL;
constexpr unsigned int DB_PRELOAD_CONTROL__START_Y_MASK                   = 0x0000ff00L;
constexpr unsigned int DB_RENDER_CONTROL__COPY_CENTROID_MASK              = 0x00000080L;
constexpr unsigned int DB_RENDER_CONTROL__COPY_SAMPLE_MASK                = 0x00000f00L;
constexpr unsigned int DB_RENDER_CONTROL__DECOMPRESS_ENABLE_MASK          = 0x00001000L;
constexpr unsigned int DB_RENDER_CONTROL__DEPTH_CLEAR_ENABLE_MASK         = 0x00000001L;
constexpr unsigned int DB_RENDER_CONTROL__DEPTH_COMPRESS_DISABLE_MASK     = 0x00000040L;
constexpr unsigned int DB_RENDER_CONTROL__DEPTH_COPY_MASK                 = 0x00000004L;
constexpr unsigned int DB_RENDER_CONTROL__RESUMMARIZE_ENABLE_MASK         = 0x00000010L;
constexpr unsigned int DB_RENDER_CONTROL__STENCIL_CLEAR_ENABLE_MASK       = 0x00000002L;
constexpr unsigned int DB_RENDER_CONTROL__STENCIL_COMPRESS_DISABLE_MASK   = 0x00000020L;
constexpr unsigned int DB_RENDER_CONTROL__STENCIL_COPY_MASK               = 0x00000008L;
constexpr unsigned int DB_RENDER_OVERRIDE2__ALLOW_PARTIAL_RES_HIER_KILL_MASK = 0x02000000L;
constexpr unsigned int DB_RENDER_OVERRIDE2__DECOMPRESS_Z_ON_FLUSH_MASK    = 0x00000100L;
constexpr unsigned int DB_RENDER_OVERRIDE2__DEPTH_BOUNDS_HIER_DEPTH_DISABLE_MASK = 0x00000400L;
constexpr unsigned int DB_RENDER_OVERRIDE2__DISABLE_COLOR_ON_VALIDATION_MASK = 0x00000080L;
constexpr unsigned int DB_RENDER_OVERRIDE2__DISABLE_FAST_PASS_MASK        = 0x00800000L;
constexpr unsigned int DB_RENDER_OVERRIDE2__DISABLE_REG_SNOOP_MASK        = 0x00000200L;
constexpr unsigned int DB_RENDER_OVERRIDE2__DISABLE_SMEM_EXPCLEAR_OPTIMIZATION_MASK = 0x00000040L;
constexpr unsigned int DB_RENDER_OVERRIDE2__DISABLE_ZMASK_EXPCLEAR_OPTIMIZATION_MASK = 0x00000020L;
constexpr unsigned int DB_RENDER_OVERRIDE2__HIS_SFUNC_BF_MASK             = 0x001c0000L;
constexpr unsigned int DB_RENDER_OVERRIDE2__HIS_SFUNC_FF_MASK             = 0x00038000L;
constexpr unsigned int DB_RENDER_OVERRIDE2__HIZ_ZFUNC_MASK                = 0x00007000L;
constexpr unsigned int DB_RENDER_OVERRIDE2__PARTIAL_SQUAD_LAUNCH_CONTROL_MASK = 0x00000003L;
constexpr unsigned int DB_RENDER_OVERRIDE2__PARTIAL_SQUAD_LAUNCH_COUNTDOWN_MASK = 0x0000001cL;
constexpr unsigned int DB_RENDER_OVERRIDE2__PRESERVE_SRESULTS_MASK        = 0x00400000L;
constexpr unsigned int DB_RENDER_OVERRIDE2__PRESERVE_ZRANGE_MASK          = 0x00200000L;
constexpr unsigned int DB_RENDER_OVERRIDE2__SEPARATE_HIZS_FUNC_ENABLE_MASK = 0x00000800L;
constexpr unsigned int DB_RENDER_OVERRIDE__DISABLE_FULLY_COVERED_MASK     = 0x00040000L;
constexpr unsigned int DB_RENDER_OVERRIDE__DISABLE_TILE_RATE_TILES_MASK   = 0x04000000L;
constexpr unsigned int DB_RENDER_OVERRIDE__DISABLE_VIEWPORT_CLAMP_MASK    = 0x00010000L;
constexpr unsigned int DB_RENDER_OVERRIDE__FAST_STENCIL_DISABLE_MASK      = 0x00000100L;
constexpr unsigned int DB_RENDER_OVERRIDE__FAST_Z_DISABLE_MASK            = 0x00000080L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_COLOR_KILL_MASK          = 0x00000400L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_FULL_Z_RANGE_MASK        = 0x00006000L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_HIS_ENABLE0_MASK         = 0x0000000cL;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_HIS_ENABLE1_MASK         = 0x00000030L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_HIZ_ENABLE_MASK          = 0x00000003L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_SHADER_Z_ORDER_MASK      = 0x00000040L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_STENCIL_DIRTY_MASK       = 0x10000000L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_STENCIL_READ_MASK        = 0x00001000L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_STENCIL_VALID_MASK       = 0x40000000L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_Z_DIRTY_MASK             = 0x08000000L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_Z_LIMIT_SUMM_MASK        = 0x00180000L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_Z_READ_MASK              = 0x00000800L;
constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_Z_VALID_MASK             = 0x20000000L;
constexpr unsigned int DB_RENDER_OVERRIDE__IGNORE_SC_ZRANGE_MASK          = 0x00020000L;
constexpr unsigned int DB_RENDER_OVERRIDE__MAX_TILES_IN_DTT_MASK          = 0x03e00000L;
constexpr unsigned int DB_RENDER_OVERRIDE__NOOP_CULL_DISABLE_MASK         = 0x00000200L;
constexpr unsigned int DB_RENDER_OVERRIDE__PRESERVE_COMPRESSION_MASK      = 0x80000000L;
constexpr unsigned int DB_SHADER_CONTROL__ALPHA_TO_MASK_DISABLE_MASK      = 0x00000800L;
constexpr unsigned int DB_SHADER_CONTROL__CONSERVATIVE_Z_EXPORT_MASK      = 0x00006000L;
constexpr unsigned int DB_SHADER_CONTROL__COVERAGE_TO_MASK_ENABLE_MASK    = 0x00000080L;
constexpr unsigned int DB_SHADER_CONTROL__DEPTH_BEFORE_SHADER_MASK        = 0x00001000L;
constexpr unsigned int DB_SHADER_CONTROL__DUAL_QUAD_DISABLE_MASK          = 0x00008000L;
constexpr unsigned int DB_SHADER_CONTROL__EXEC_ON_HIER_FAIL_MASK          = 0x00000200L;
constexpr unsigned int DB_SHADER_CONTROL__EXEC_ON_NOOP_MASK               = 0x00000400L;
constexpr unsigned int DB_SHADER_CONTROL__KILL_ENABLE_MASK                = 0x00000040L;
constexpr unsigned int DB_SHADER_CONTROL__MASK_EXPORT_ENABLE_MASK         = 0x00000100L;
constexpr unsigned int DB_SHADER_CONTROL__PRIMITIVE_ORDERED_PIXEL_SHADER_MASK = 0x00010000L;
constexpr unsigned int DB_SHADER_CONTROL__STENCIL_OP_VAL_EXPORT_ENABLE_MASK = 0x00000004L;
constexpr unsigned int DB_SHADER_CONTROL__STENCIL_TEST_VAL_EXPORT_ENABLE_MASK = 0x00000002L;
constexpr unsigned int DB_SHADER_CONTROL__Z_EXPORT_ENABLE_MASK            = 0x00000001L;
constexpr unsigned int DB_SHADER_CONTROL__Z_ORDER_MASK                    = 0x00000030L;
constexpr unsigned int DB_SRESULTS_COMPARE_STATE0__COMPAREFUNC0_MASK      = 0x00000007L;
constexpr unsigned int DB_SRESULTS_COMPARE_STATE0__COMPAREMASK0_MASK      = 0x000ff000L;
constexpr unsigned int DB_SRESULTS_COMPARE_STATE0__COMPAREVALUE0_MASK     = 0x00000ff0L;
constexpr unsigned int DB_SRESULTS_COMPARE_STATE0__ENABLE0_MASK           = 0x01000000L;
constexpr unsigned int DB_SRESULTS_COMPARE_STATE1__COMPAREFUNC1_MASK      = 0x00000007L;
constexpr unsigned int DB_SRESULTS_COMPARE_STATE1__COMPAREMASK1_MASK      = 0x000ff000L;
constexpr unsigned int DB_SRESULTS_COMPARE_STATE1__COMPAREVALUE1_MASK     = 0x00000ff0L;
constexpr unsigned int DB_SRESULTS_COMPARE_STATE1__ENABLE1_MASK           = 0x01000000L;
constexpr unsigned int DB_STENCILREFMASK_BF__STENCILMASK_BF_MASK          = 0x0000ff00L;
constexpr unsigned int DB_STENCILREFMASK_BF__STENCILOPVAL_BF_MASK         = 0xff000000L;
constexpr unsigned int DB_STENCILREFMASK_BF__STENCILTESTVAL_BF_MASK       = 0x000000ffL;
constexpr unsigned int DB_STENCILREFMASK_BF__STENCILWRITEMASK_BF_MASK     = 0x00ff0000L;
constexpr unsigned int DB_STENCILREFMASK__STENCILMASK_MASK                = 0x0000ff00L;
constexpr unsigned int DB_STENCILREFMASK__STENCILOPVAL_MASK               = 0xff000000L;
constexpr unsigned int DB_STENCILREFMASK__STENCILTESTVAL_MASK             = 0x000000ffL;
constexpr unsigned int DB_STENCILREFMASK__STENCILWRITEMASK_MASK           = 0x00ff0000L;
constexpr unsigned int DB_STENCIL_CLEAR__CLEAR_MASK                       = 0x000000ffL;
constexpr unsigned int DB_STENCIL_CONTROL__STENCILFAIL_BF_MASK            = 0x0000f000L;
constexpr unsigned int DB_STENCIL_CONTROL__STENCILFAIL_MASK               = 0x0000000fL;
constexpr unsigned int DB_STENCIL_CONTROL__STENCILZFAIL_BF_MASK           = 0x00f00000L;
constexpr unsigned int DB_STENCIL_CONTROL__STENCILZFAIL_MASK              = 0x00000f00L;
constexpr unsigned int DB_STENCIL_CONTROL__STENCILZPASS_BF_MASK           = 0x000f0000L;
constexpr unsigned int DB_STENCIL_CONTROL__STENCILZPASS_MASK              = 0x000000f0L;
constexpr unsigned int DB_STENCIL_INFO__ALLOW_EXPCLEAR_MASK               = 0x08000000L;
constexpr unsigned int DB_STENCIL_INFO__FORMAT_MASK                       = 0x00000001L;
constexpr unsigned int DB_STENCIL_INFO__PARTIALLY_RESIDENT_MASK           = 0x00001000L;
constexpr unsigned int DB_STENCIL_INFO__SW_MODE_MASK                      = 0x000001f0L;
constexpr unsigned int DB_STENCIL_INFO__TILE_STENCIL_DISABLE_MASK         = 0x20000000L;
constexpr unsigned int DB_STENCIL_READ_BASE_HI__BASE_HI_MASK              = 0x000000ffL;
constexpr unsigned int DB_STENCIL_READ_BASE__BASE_256B_MASK               = 0xffffffffL;
constexpr unsigned int DB_STENCIL_WRITE_BASE_HI__BASE_HI_MASK             = 0x000000ffL;
constexpr unsigned int DB_STENCIL_WRITE_BASE__BASE_256B_MASK              = 0xffffffffL;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA1_X_MASK                   = 0x00000003L;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA1_Y_MASK                   = 0x0000000cL;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA2_X_MASK                   = 0x00000030L;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA2_Y_MASK                   = 0x000000c0L;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA4_X_MASK                   = 0x00000300L;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA4_Y_MASK                   = 0x00000c00L;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA8_X_MASK                   = 0x00003000L;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA8_Y_MASK                   = 0x0000c000L;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA16_X_MASK                  = 0x00030000L;
constexpr unsigned int DB_SUBTILE_CONTROL__MSAA16_Y_MASK                  = 0x000c0000L;
constexpr unsigned int DB_ZPASS_COUNT_HI__COUNT_HI_MASK                   = 0x7fffffffL;
constexpr unsigned int DB_ZPASS_COUNT_LOW__COUNT_LOW_MASK                 = 0xffffffffL;
constexpr unsigned int DB_Z_INFO__ALLOW_EXPCLEAR_MASK                     = 0x08000000L;
constexpr unsigned int DB_Z_INFO__DECOMPRESS_ON_N_ZPLANES_MASK            = 0x07800000L;
constexpr unsigned int DB_Z_INFO__FORMAT_MASK                             = 0x00000003L;
constexpr unsigned int DB_Z_INFO__MAXMIP_MASK                             = 0x000f0000L;
constexpr unsigned int DB_Z_INFO__NUM_SAMPLES_MASK                        = 0x0000000cL;
constexpr unsigned int DB_Z_INFO__PARTIALLY_RESIDENT_MASK                 = 0x00001000L;
constexpr unsigned int DB_Z_INFO__READ_SIZE_MASK                          = 0x10000000L;
constexpr unsigned int DB_Z_INFO__SW_MODE_MASK                            = 0x000001f0L;
constexpr unsigned int DB_Z_INFO__TILE_SURFACE_ENABLE_MASK                = 0x20000000L;
constexpr unsigned int DB_Z_INFO__ZRANGE_PRECISION_MASK                   = 0x80000000L;
constexpr unsigned int DB_Z_READ_BASE_HI__BASE_HI_MASK                    = 0x000000ffL;
constexpr unsigned int DB_Z_READ_BASE__BASE_256B_MASK                     = 0xffffffffL;
constexpr unsigned int DB_Z_WRITE_BASE_HI__BASE_HI_MASK                   = 0x000000ffL;
constexpr unsigned int DB_Z_WRITE_BASE__BASE_256B_MASK                    = 0xffffffffL;
constexpr unsigned int GB_ADDR_CONFIG_READ__MAX_COMPRESSED_FRAGS_MASK     = 0x000000c0L;
constexpr unsigned int GB_ADDR_CONFIG_READ__NUM_PIPES_MASK                = 0x00000007L;
constexpr unsigned int GB_ADDR_CONFIG_READ__NUM_RB_PER_SE_MASK            = 0x0c000000L;
constexpr unsigned int GB_ADDR_CONFIG_READ__NUM_SHADER_ENGINES_MASK       = 0x00180000L;
constexpr unsigned int GB_ADDR_CONFIG_READ__PIPE_INTERLEAVE_SIZE_MASK     = 0x00000038L;
constexpr unsigned int GB_ADDR_CONFIG__MAX_COMPRESSED_FRAGS_MASK          = 0x000000c0L;
constexpr unsigned int GB_ADDR_CONFIG__NUM_PIPES_MASK                     = 0x00000007L;
constexpr unsigned int GB_ADDR_CONFIG__NUM_RB_PER_SE_MASK                 = 0x0c000000L;
constexpr unsigned int GB_ADDR_CONFIG__NUM_SHADER_ENGINES_MASK            = 0x00180000L;
constexpr unsigned int GB_ADDR_CONFIG__PIPE_INTERLEAVE_SIZE_MASK          = 0x00000038L;
constexpr unsigned int GRBM_GFX_INDEX_SR_DATA__INSTANCE_BROADCAST_WRITES_MASK = 0x40000000L;
constexpr unsigned int GRBM_GFX_INDEX_SR_DATA__INSTANCE_INDEX_MASK        = 0x000000ffL;
constexpr unsigned int GRBM_GFX_INDEX_SR_DATA__SE_BROADCAST_WRITES_MASK   = 0x80000000L;
constexpr unsigned int GRBM_GFX_INDEX_SR_DATA__SE_INDEX_MASK              = 0x00ff0000L;
constexpr unsigned int GRBM_GFX_INDEX_SR_SELECT__INDEX_MASK               = 0x00000007L;
constexpr unsigned int GRBM_GFX_INDEX__INSTANCE_BROADCAST_WRITES_MASK     = 0x40000000L;
constexpr unsigned int GRBM_GFX_INDEX__INSTANCE_INDEX_MASK                = 0x000000ffL;
constexpr unsigned int GRBM_GFX_INDEX__SE_BROADCAST_WRITES_MASK           = 0x80000000L;
constexpr unsigned int GRBM_GFX_INDEX__SE_INDEX_MASK                      = 0x00ff0000L;
constexpr unsigned int GRBM_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
constexpr unsigned int GRBM_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__BCI_BUSY_USER_DEFINED_MASK_MASK = 0x02000000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__CB_BUSY_USER_DEFINED_MASK_MASK = 0x00200000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__CB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000800L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__CP_BUSY_USER_DEFINED_MASK_MASK = 0x00400000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__DB_BUSY_USER_DEFINED_MASK_MASK = 0x00100000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__DB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000400L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__GDS_BUSY_USER_DEFINED_MASK_MASK = 0x01000000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__GRBM_BUSY_USER_DEFINED_MASK_MASK = 0x00080000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__PA_BUSY_USER_DEFINED_MASK_MASK = 0x00040000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__PERF_SEL_MASK            = 0x0000003fL;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__RLC_BUSY_USER_DEFINED_MASK_MASK = 0x04000000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__RMI_BUSY_USER_DEFINED_MASK_MASK = 0x80000000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__SC_BUSY_USER_DEFINED_MASK_MASK = 0x00020000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__SPI_BUSY_USER_DEFINED_MASK_MASK = 0x00010000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__SX_BUSY_USER_DEFINED_MASK_MASK = 0x00004000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__TA_BUSY_USER_DEFINED_MASK_MASK = 0x00002000L;
constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__UTCL2_BUSY_USER_DEFINED_MASK_MASK = 0x20000000L;
constexpr unsigned int GRBM_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
constexpr unsigned int GRBM_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__BCI_BUSY_USER_DEFINED_MASK_MASK = 0x02000000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__CB_BUSY_USER_DEFINED_MASK_MASK = 0x00200000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__CB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000800L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__CP_BUSY_USER_DEFINED_MASK_MASK = 0x00400000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__DB_BUSY_USER_DEFINED_MASK_MASK = 0x00100000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__DB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000400L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__GDS_BUSY_USER_DEFINED_MASK_MASK = 0x01000000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__GRBM_BUSY_USER_DEFINED_MASK_MASK = 0x00080000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__PA_BUSY_USER_DEFINED_MASK_MASK = 0x00040000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__PERF_SEL_MASK            = 0x0000003fL;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__RLC_BUSY_USER_DEFINED_MASK_MASK = 0x04000000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__RMI_BUSY_USER_DEFINED_MASK_MASK = 0x80000000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__SC_BUSY_USER_DEFINED_MASK_MASK = 0x00020000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__SPI_BUSY_USER_DEFINED_MASK_MASK = 0x00010000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__SX_BUSY_USER_DEFINED_MASK_MASK = 0x00004000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__TA_BUSY_USER_DEFINED_MASK_MASK = 0x00002000L;
constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__UTCL2_BUSY_USER_DEFINED_MASK_MASK = 0x20000000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_HI__PERFCOUNTER_HI_MASK       = 0xffffffffL;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_LO__PERFCOUNTER_LO_MASK       = 0xffffffffL;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__BCI_BUSY_USER_DEFINED_MASK_MASK = 0x00200000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__CB_BUSY_USER_DEFINED_MASK_MASK = 0x00040000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__CB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000800L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__DB_BUSY_USER_DEFINED_MASK_MASK = 0x00020000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__DB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000400L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__PA_BUSY_USER_DEFINED_MASK_MASK = 0x00100000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__PERF_SEL_MASK         = 0x0000003fL;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__RMI_BUSY_USER_DEFINED_MASK_MASK = 0x00400000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__SC_BUSY_USER_DEFINED_MASK_MASK = 0x00010000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__SPI_BUSY_USER_DEFINED_MASK_MASK = 0x00008000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__SX_BUSY_USER_DEFINED_MASK_MASK = 0x00002000L;
constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__TA_BUSY_USER_DEFINED_MASK_MASK = 0x00001000L;
constexpr unsigned int IA_ENHANCE__MISC_MASK                              = 0xffffffffL;
constexpr unsigned int IA_UTCL1_CNTL__BYPASS_MASK                         = 0x02000000L;
constexpr unsigned int IA_UTCL1_CNTL__DROP_MODE_MASK                      = 0x01000000L;
constexpr unsigned int IA_UTCL1_CNTL__FORCE_SNOOP_MASK                    = 0x10000000L;
constexpr unsigned int IA_UTCL1_CNTL__FRAG_LIMIT_MODE_MASK                = 0x08000000L;
constexpr unsigned int IA_UTCL1_CNTL__INVALIDATE_MASK                     = 0x04000000L;
constexpr unsigned int IA_UTCL1_CNTL__VMID_RESET_MODE_MASK                = 0x00800000L;
constexpr unsigned int IA_UTCL1_CNTL__XNACK_REDO_TIMER_CNT_MASK           = 0x000fffffL;
constexpr unsigned int IA_UTCL1_STATUS__FAULT_DETECTED_MASK               = 0x00000001L;
constexpr unsigned int IA_UTCL1_STATUS__FAULT_UTCL1ID_MASK                = 0x00003f00L;
constexpr unsigned int IA_UTCL1_STATUS__PRT_DETECTED_MASK                 = 0x00000004L;
constexpr unsigned int IA_UTCL1_STATUS__PRT_UTCL1ID_MASK                  = 0x3f000000L;
constexpr unsigned int IA_UTCL1_STATUS__RETRY_DETECTED_MASK               = 0x00000002L;
constexpr unsigned int IA_UTCL1_STATUS__RETRY_UTCL1ID_MASK                = 0x003f0000L;
constexpr unsigned int PA_CL_CLIP_CNTL__BOUNDARY_EDGE_FLAG_ENA_MASK       = 0x00040000L;
constexpr unsigned int PA_CL_CLIP_CNTL__CLIP_DISABLE_MASK                 = 0x00010000L;
constexpr unsigned int PA_CL_CLIP_CNTL__DIS_CLIP_ERR_DETECT_MASK          = 0x00100000L;
constexpr unsigned int PA_CL_CLIP_CNTL__DX_CLIP_SPACE_DEF_MASK            = 0x00080000L;
constexpr unsigned int PA_CL_CLIP_CNTL__DX_LINEAR_ATTR_CLIP_ENA_MASK      = 0x01000000L;
constexpr unsigned int PA_CL_CLIP_CNTL__DX_RASTERIZATION_KILL_MASK        = 0x00400000L;
constexpr unsigned int PA_CL_CLIP_CNTL__PS_UCP_MODE_MASK                  = 0x0000c000L;
constexpr unsigned int PA_CL_CLIP_CNTL__PS_UCP_Y_SCALE_NEG_MASK           = 0x00002000L;
constexpr unsigned int PA_CL_CLIP_CNTL__UCP_CULL_ONLY_ENA_MASK            = 0x00020000L;
constexpr unsigned int PA_CL_CLIP_CNTL__UCP_ENA_0_MASK                    = 0x00000001L;
constexpr unsigned int PA_CL_CLIP_CNTL__UCP_ENA_1_MASK                    = 0x00000002L;
constexpr unsigned int PA_CL_CLIP_CNTL__UCP_ENA_2_MASK                    = 0x00000004L;
constexpr unsigned int PA_CL_CLIP_CNTL__UCP_ENA_3_MASK                    = 0x00000008L;
constexpr unsigned int PA_CL_CLIP_CNTL__UCP_ENA_4_MASK                    = 0x00000010L;
constexpr unsigned int PA_CL_CLIP_CNTL__UCP_ENA_5_MASK                    = 0x00000020L;
constexpr unsigned int PA_CL_CLIP_CNTL__VTE_VPORT_PROVOKE_DISABLE_MASK    = 0x02000000L;
constexpr unsigned int PA_CL_CLIP_CNTL__VTX_KILL_OR_MASK                  = 0x00200000L;
constexpr unsigned int PA_CL_CLIP_CNTL__ZCLIP_FAR_DISABLE_MASK            = 0x08000000L;
constexpr unsigned int PA_CL_CLIP_CNTL__ZCLIP_NEAR_DISABLE_MASK           = 0x04000000L;
constexpr unsigned int PA_CL_ENHANCE__CLIPPED_PRIM_SEQ_STALL_MASK         = 0x00000008L;
constexpr unsigned int PA_CL_ENHANCE__CLIP_VTX_REORDER_ENA_MASK           = 0x00000001L;
constexpr unsigned int PA_CL_ENHANCE__ECO_SPARE0_MASK                     = 0x80000000L;
constexpr unsigned int PA_CL_ENHANCE__ECO_SPARE1_MASK                     = 0x40000000L;
constexpr unsigned int PA_CL_ENHANCE__ECO_SPARE2_MASK                     = 0x20000000L;
constexpr unsigned int PA_CL_ENHANCE__ECO_SPARE3_MASK                     = 0x10000000L;
constexpr unsigned int PA_CL_ENHANCE__IGNORE_PIPELINE_RESET_MASK          = 0x00000040L;
constexpr unsigned int PA_CL_ENHANCE__KILL_INNER_EDGE_FLAGS_MASK          = 0x00000080L;
constexpr unsigned int PA_CL_ENHANCE__NGG_BYPASS_PRIM_FILTER_MASK         = 0x00000800L;
constexpr unsigned int PA_CL_ENHANCE__NGG_PA_TO_ALL_SC_MASK               = 0x00000100L;
constexpr unsigned int PA_CL_ENHANCE__NGG_PRIM_INDICES_FIFO_DEPTH_MASK    = 0x0001c000L;
constexpr unsigned int PA_CL_ENHANCE__NGG_SIDEBAND_MEMORY_DEPTH_MASK      = 0x00003000L;
constexpr unsigned int PA_CL_ENHANCE__NUM_CLIP_SEQ_MASK                   = 0x00000006L;
constexpr unsigned int PA_CL_ENHANCE__TC_LATENCY_TIME_STAMP_RESOLUTION_MASK = 0x00000600L;
constexpr unsigned int PA_CL_ENHANCE__VE_NAN_PROC_DISABLE_MASK            = 0x00000010L;
constexpr unsigned int PA_CL_ENHANCE__XTRA_DEBUG_REG_SEL_MASK             = 0x00000020L;
constexpr unsigned int PA_CL_GB_HORZ_CLIP_ADJ__DATA_REGISTER_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_GB_HORZ_DISC_ADJ__DATA_REGISTER_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_GB_VERT_CLIP_ADJ__DATA_REGISTER_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_GB_VERT_DISC_ADJ__DATA_REGISTER_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_NANINF_CNTL__VS_CLIP_DIST_INF_DISCARD_MASK   = 0x00004000L;
constexpr unsigned int PA_CL_NANINF_CNTL__VS_W_INF_RETAIN_MASK            = 0x00002000L;
constexpr unsigned int PA_CL_NANINF_CNTL__VS_W_NAN_TO_INF_MASK            = 0x00001000L;
constexpr unsigned int PA_CL_NANINF_CNTL__VS_XY_INF_RETAIN_MASK           = 0x00000200L;
constexpr unsigned int PA_CL_NANINF_CNTL__VS_XY_NAN_TO_INF_MASK           = 0x00000100L;
constexpr unsigned int PA_CL_NANINF_CNTL__VS_Z_INF_RETAIN_MASK            = 0x00000800L;
constexpr unsigned int PA_CL_NANINF_CNTL__VS_Z_NAN_TO_INF_MASK            = 0x00000400L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_0XNANINF_IS_0_MASK          = 0x00000008L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_NO_OUTPUT_NEG_0_MASK        = 0x00100000L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_W_INF_DISCARD_MASK          = 0x00000004L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_W_NAN_RETAIN_MASK           = 0x00000040L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_W_RECIP_NAN_IS_0_MASK       = 0x00000080L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_XY_INF_DISCARD_MASK         = 0x00000001L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_XY_NAN_RETAIN_MASK          = 0x00000010L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_Z_INF_DISCARD_MASK          = 0x00000002L;
constexpr unsigned int PA_CL_NANINF_CNTL__VTE_Z_NAN_RETAIN_MASK           = 0x00000020L;
constexpr unsigned int PA_CL_NGG_CNTL__INDEX_BUF_EDGE_FLAG_ENA_MASK       = 0x00000002L;
constexpr unsigned int PA_CL_NGG_CNTL__VERTEX_REUSE_OFF_MASK              = 0x00000001L;
constexpr unsigned int PA_CL_POINT_CULL_RAD__DATA_REGISTER_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_POINT_SIZE__DATA_REGISTER_MASK               = 0xffffffffL;
constexpr unsigned int PA_CL_POINT_X_RAD__DATA_REGISTER_MASK              = 0xffffffffL;
constexpr unsigned int PA_CL_POINT_Y_RAD__DATA_REGISTER_MASK              = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_0_W__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_0_X__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_0_Y__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_0_Z__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_1_W__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_1_X__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_1_Y__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_1_Z__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_2_W__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_2_X__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_2_Y__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_2_Z__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_3_W__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_3_X__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_3_Y__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_3_Z__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_4_W__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_4_X__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_4_Y__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_4_Z__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_5_W__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_5_X__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_5_Y__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_UCP_5_Z__DATA_REGISTER_MASK                  = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_1__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_2__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_3__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_4__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_5__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_6__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_7__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_8__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_9__VPORT_XOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_10__VPORT_XOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_11__VPORT_XOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_12__VPORT_XOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_13__VPORT_XOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_14__VPORT_XOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET_15__VPORT_XOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XOFFSET__VPORT_XOFFSET_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_1__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_2__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_3__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_4__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_5__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_6__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_7__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_8__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_9__VPORT_XSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_10__VPORT_XSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_11__VPORT_XSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_12__VPORT_XSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_13__VPORT_XSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_14__VPORT_XSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE_15__VPORT_XSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_XSCALE__VPORT_XSCALE_MASK              = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_1__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_2__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_3__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_4__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_5__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_6__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_7__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_8__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_9__VPORT_YOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_10__VPORT_YOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_11__VPORT_YOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_12__VPORT_YOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_13__VPORT_YOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_14__VPORT_YOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET_15__VPORT_YOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YOFFSET__VPORT_YOFFSET_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_1__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_2__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_3__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_4__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_5__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_6__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_7__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_8__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_9__VPORT_YSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_10__VPORT_YSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_11__VPORT_YSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_12__VPORT_YSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_13__VPORT_YSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_14__VPORT_YSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE_15__VPORT_YSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_YSCALE__VPORT_YSCALE_MASK              = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_1__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_2__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_3__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_4__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_5__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_6__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_7__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_8__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_9__VPORT_ZOFFSET_MASK          = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_10__VPORT_ZOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_11__VPORT_ZOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_12__VPORT_ZOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_13__VPORT_ZOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_14__VPORT_ZOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET_15__VPORT_ZOFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZOFFSET__VPORT_ZOFFSET_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_1__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_2__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_3__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_4__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_5__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_6__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_7__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_8__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_9__VPORT_ZSCALE_MASK            = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_10__VPORT_ZSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_11__VPORT_ZSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_12__VPORT_ZSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_13__VPORT_ZSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_14__VPORT_ZSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE_15__VPORT_ZSCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_CL_VPORT_ZSCALE__VPORT_ZSCALE_MASK              = 0xffffffffL;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CLIP_DIST_ENA_0_MASK            = 0x00000001L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CLIP_DIST_ENA_1_MASK            = 0x00000002L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CLIP_DIST_ENA_2_MASK            = 0x00000004L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CLIP_DIST_ENA_3_MASK            = 0x00000008L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CLIP_DIST_ENA_4_MASK            = 0x00000010L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CLIP_DIST_ENA_5_MASK            = 0x00000020L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CLIP_DIST_ENA_6_MASK            = 0x00000040L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CLIP_DIST_ENA_7_MASK            = 0x00000080L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CULL_DIST_ENA_0_MASK            = 0x00000100L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CULL_DIST_ENA_1_MASK            = 0x00000200L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CULL_DIST_ENA_2_MASK            = 0x00000400L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CULL_DIST_ENA_3_MASK            = 0x00000800L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CULL_DIST_ENA_4_MASK            = 0x00001000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CULL_DIST_ENA_5_MASK            = 0x00002000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CULL_DIST_ENA_6_MASK            = 0x00004000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__CULL_DIST_ENA_7_MASK            = 0x00008000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_EDGE_FLAG_MASK          = 0x00020000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_KILL_FLAG_MASK          = 0x00100000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_POINT_SIZE_MASK         = 0x00010000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_RENDER_TARGET_INDX_MASK = 0x00040000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_VIEWPORT_INDX_MASK      = 0x00080000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__VS_OUT_CCDIST0_VEC_ENA_MASK     = 0x00400000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__VS_OUT_CCDIST1_VEC_ENA_MASK     = 0x00800000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__VS_OUT_MISC_SIDE_BUS_ENA_MASK   = 0x01000000L;
constexpr unsigned int PA_CL_VS_OUT_CNTL__VS_OUT_MISC_VEC_ENA_MASK        = 0x00200000L;
constexpr unsigned int PA_CL_VTE_CNTL__PERFCOUNTER_REF_MASK               = 0x00000800L;
constexpr unsigned int PA_CL_VTE_CNTL__VPORT_X_OFFSET_ENA_MASK            = 0x00000002L;
constexpr unsigned int PA_CL_VTE_CNTL__VPORT_X_SCALE_ENA_MASK             = 0x00000001L;
constexpr unsigned int PA_CL_VTE_CNTL__VPORT_Y_OFFSET_ENA_MASK            = 0x00000008L;
constexpr unsigned int PA_CL_VTE_CNTL__VPORT_Y_SCALE_ENA_MASK             = 0x00000004L;
constexpr unsigned int PA_CL_VTE_CNTL__VPORT_Z_OFFSET_ENA_MASK            = 0x00000020L;
constexpr unsigned int PA_CL_VTE_CNTL__VPORT_Z_SCALE_ENA_MASK             = 0x00000010L;
constexpr unsigned int PA_CL_VTE_CNTL__VTX_W0_FMT_MASK                    = 0x00000400L;
constexpr unsigned int PA_CL_VTE_CNTL__VTX_XY_FMT_MASK                    = 0x00000100L;
constexpr unsigned int PA_CL_VTE_CNTL__VTX_Z_FMT_MASK                     = 0x00000200L;
constexpr unsigned int PA_SC_AA_CONFIG__AA_MASK_CENTROID_DTMN_MASK        = 0x00000010L;
constexpr unsigned int PA_SC_AA_CONFIG__COVERAGE_TO_SHADER_SELECT_MASK    = 0x0c000000L;
constexpr unsigned int PA_SC_AA_CONFIG__DETAIL_TO_EXPOSED_MODE_MASK       = 0x03000000L;
constexpr unsigned int PA_SC_AA_CONFIG__MAX_SAMPLE_DIST_MASK              = 0x0001e000L;
constexpr unsigned int PA_SC_AA_CONFIG__MSAA_EXPOSED_SAMPLES_MASK         = 0x00700000L;
constexpr unsigned int PA_SC_AA_CONFIG__MSAA_NUM_SAMPLES_MASK             = 0x00000007L;
constexpr unsigned int PA_SC_AA_MASK_X0Y0_X1Y0__AA_MASK_X0Y0_MASK         = 0x0000ffffL;
constexpr unsigned int PA_SC_AA_MASK_X0Y0_X1Y0__AA_MASK_X1Y0_MASK         = 0xffff0000L;
constexpr unsigned int PA_SC_AA_MASK_X0Y1_X1Y1__AA_MASK_X0Y1_MASK         = 0x0000ffffL;
constexpr unsigned int PA_SC_AA_MASK_X0Y1_X1Y1__AA_MASK_X1Y1_MASK         = 0xffff0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0__S0_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0__S0_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0__S1_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0__S1_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0__S2_X_MASK       = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0__S2_Y_MASK       = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0__S3_X_MASK       = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0__S3_Y_MASK       = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1__S4_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1__S4_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1__S5_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1__S5_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1__S6_X_MASK       = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1__S6_Y_MASK       = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1__S7_X_MASK       = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1__S7_Y_MASK       = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2__S8_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2__S8_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2__S9_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2__S9_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2__S10_X_MASK      = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2__S10_Y_MASK      = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2__S11_X_MASK      = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2__S11_Y_MASK      = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3__S12_X_MASK      = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3__S12_Y_MASK      = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3__S13_X_MASK      = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3__S13_Y_MASK      = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3__S14_X_MASK      = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3__S14_Y_MASK      = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3__S15_X_MASK      = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3__S15_Y_MASK      = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0__S0_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0__S0_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0__S1_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0__S1_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0__S2_X_MASK       = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0__S2_Y_MASK       = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0__S3_X_MASK       = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0__S3_Y_MASK       = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1__S4_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1__S4_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1__S5_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1__S5_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1__S6_X_MASK       = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1__S6_Y_MASK       = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1__S7_X_MASK       = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1__S7_Y_MASK       = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2__S8_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2__S8_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2__S9_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2__S9_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2__S10_X_MASK      = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2__S10_Y_MASK      = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2__S11_X_MASK      = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2__S11_Y_MASK      = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3__S12_X_MASK      = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3__S12_Y_MASK      = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3__S13_X_MASK      = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3__S13_Y_MASK      = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3__S14_X_MASK      = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3__S14_Y_MASK      = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3__S15_X_MASK      = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3__S15_Y_MASK      = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0__S0_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0__S0_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0__S1_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0__S1_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0__S2_X_MASK       = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0__S2_Y_MASK       = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0__S3_X_MASK       = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0__S3_Y_MASK       = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1__S4_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1__S4_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1__S5_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1__S5_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1__S6_X_MASK       = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1__S6_Y_MASK       = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1__S7_X_MASK       = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1__S7_Y_MASK       = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2__S8_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2__S8_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2__S9_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2__S9_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2__S10_X_MASK      = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2__S10_Y_MASK      = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2__S11_X_MASK      = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2__S11_Y_MASK      = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3__S12_X_MASK      = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3__S12_Y_MASK      = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3__S13_X_MASK      = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3__S13_Y_MASK      = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3__S14_X_MASK      = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3__S14_Y_MASK      = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3__S15_X_MASK      = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3__S15_Y_MASK      = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0__S0_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0__S0_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0__S1_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0__S1_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0__S2_X_MASK       = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0__S2_Y_MASK       = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0__S3_X_MASK       = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0__S3_Y_MASK       = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1__S4_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1__S4_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1__S5_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1__S5_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1__S6_X_MASK       = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1__S6_Y_MASK       = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1__S7_X_MASK       = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1__S7_Y_MASK       = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2__S8_X_MASK       = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2__S8_Y_MASK       = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2__S9_X_MASK       = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2__S9_Y_MASK       = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2__S10_X_MASK      = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2__S10_Y_MASK      = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2__S11_X_MASK      = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2__S11_Y_MASK      = 0xf0000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3__S12_X_MASK      = 0x0000000fL;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3__S12_Y_MASK      = 0x000000f0L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3__S13_X_MASK      = 0x00000f00L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3__S13_Y_MASK      = 0x0000f000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3__S14_X_MASK      = 0x000f0000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3__S14_Y_MASK      = 0x00f00000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3__S15_X_MASK      = 0x0f000000L;
constexpr unsigned int PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3__S15_Y_MASK      = 0xf0000000L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__BINNING_MODE_MASK             = 0x00000003L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__BIN_SIZE_X_EXTEND_MASK        = 0x00000070L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__BIN_SIZE_X_MASK               = 0x00000004L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__BIN_SIZE_Y_EXTEND_MASK        = 0x00000380L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__BIN_SIZE_Y_MASK               = 0x00000008L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__CONTEXT_STATES_PER_BIN_MASK   = 0x00001c00L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__DISABLE_START_OF_PRIM_MASK    = 0x00040000L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__FPOVS_PER_BATCH_MASK          = 0x07f80000L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__OPTIMAL_BIN_SELECTION_MASK    = 0x08000000L;
constexpr unsigned int PA_SC_BINNER_CNTL_0__PERSISTENT_STATES_PER_BIN_MASK = 0x0003e000L;
constexpr unsigned int PA_SC_BINNER_CNTL_1__MAX_ALLOC_COUNT_MASK          = 0x0000ffffL;
constexpr unsigned int PA_SC_BINNER_CNTL_1__MAX_PRIM_PER_BATCH_MASK       = 0xffff0000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__BREAK_BATCH_MASK        = 0x30000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__CACHE_FLUSH_MASK        = 0x00003000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__CACHE_FLUSH_TS_MASK     = 0x00000300L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__CONTEXT_DONE_MASK       = 0x00000c00L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__CS_PARTIAL_FLUSH_MASK   = 0x0000c000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__END_OF_PIPE_IB_END_MASK = 0x03000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__END_OF_PIPE_INCR_DE_MASK = 0x00c00000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__RESERVED_0_MASK         = 0x00000003L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__RESERVED_9_MASK         = 0x000c0000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__RST_PIX_CNT_MASK        = 0x0c000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__SAMPLE_STREAMOUTSTATS1_MASK = 0x0000000cL;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__SAMPLE_STREAMOUTSTATS2_MASK = 0x00000030L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__SAMPLE_STREAMOUTSTATS3_MASK = 0x000000c0L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__VGT_STREAMOUT_RESET_MASK = 0x00300000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__VGT_STREAMOUT_SYNC_MASK = 0x00030000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_0__VS_PARTIAL_FLUSH_MASK   = 0xc0000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__CACHE_FLUSH_AND_INV_EVENT_MASK = 0x00003000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__CACHE_FLUSH_AND_INV_TS_EVENT_MASK = 0x00000300L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__FLUSH_DFSM_MASK         = 0x00000030L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__FLUSH_ES_OUTPUT_MASK    = 0x03000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__FLUSH_HS_OUTPUT_MASK    = 0x0000000cL;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__PERFCOUNTER_SAMPLE_MASK = 0x00c00000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__PERFCOUNTER_START_MASK  = 0x0000c000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__PERFCOUNTER_STOP_MASK   = 0x00030000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__PIPELINESTAT_START_MASK = 0x000c0000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__PIPELINESTAT_STOP_MASK  = 0x00300000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__PS_PARTIAL_FLUSH_MASK   = 0x00000003L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__RESET_TO_LOWEST_VGT_MASK = 0x000000c0L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__SAMPLE_PIPELINESTAT_MASK = 0x30000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__SO_VGTSTREAMOUT_FLUSH_MASK = 0xc0000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__BLOCK_CONTEXT_DONE_MASK = 0x00000030L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__BOTTOM_OF_PIPE_TS_MASK  = 0x00030000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__CS_DONE_MASK            = 0xc0000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__DB_CACHE_FLUSH_AND_INV_MASK = 0x00300000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__FLUSH_AND_INV_CB_DATA_TS_MASK = 0x0c000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__FLUSH_AND_INV_CB_META_MASK = 0x30000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__FLUSH_AND_INV_DB_DATA_TS_MASK = 0x00c00000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__FLUSH_AND_INV_DB_META_MASK = 0x03000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__RESET_VTX_CNT_MASK      = 0x0000000cL;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__SAMPLE_STREAMOUTSTATS_MASK = 0x00000003L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__SC_SEND_DB_VPZ_MASK     = 0x0000c000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__SQ_NON_EVENT_MASK       = 0x00003000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__TGID_ROLLOVER_MASK      = 0x00000c00L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__VGT_FLUSH_MASK          = 0x00000300L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__CONTEXT_SUSPEND_MASK    = 0x00c00000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__ENABLE_NGG_PIPELINE_MASK = 0x0c000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__FLUSH_AND_INV_CB_PIXEL_DATA_MASK = 0x0000000cL;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__OFFCHIP_HS_DEALLOC_MASK = 0x03000000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__PIXEL_PIPE_STAT_CONTROL_MASK = 0x00030000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__PIXEL_PIPE_STAT_DUMP_MASK = 0x000c0000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__PIXEL_PIPE_STAT_RESET_MASK = 0x00300000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__PS_DONE_MASK            = 0x00000003L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__THREAD_TRACE_FINISH_MASK = 0x0000c000L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__THREAD_TRACE_MARKER_MASK = 0x00000c00L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__THREAD_TRACE_START_MASK = 0x000000c0L;
constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__THREAD_TRACE_STOP_MASK  = 0x00000300L;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_0__BATCH_HIST_NUM_CONTEXT_THRESHOLD_MASK = 0x03800000L;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_0__BATCH_HIST_NUM_PRIMS_THRESHOLD_MASK = 0x000ffc00L;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_0__BIN_HIST_NUM_CONTEXT_THRESHOLD_MASK = 0x00700000L;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_0__BIN_HIST_NUM_PRIMS_THRESHOLD_MASK = 0x000003ffL;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_1__BATCH_HIST_NUM_PERSISTENT_STATE_THRESHOLD_MASK = 0x000003e0L;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_1__BATCH_HIST_NUM_TRIV_REJECTED_PRIMS_THRESHOLD_MASK = 0x03fffc00L;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_1__BIN_HIST_NUM_PERSISTENT_STATE_THRESHOLD_MASK = 0x0000001fL;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_2__BATCH_HIST_NUM_COLUMNS_PER_ROW_THRESHOLD_MASK = 0x003ff800L;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_2__BATCH_HIST_NUM_ROWS_PER_PRIM_THRESHOLD_MASK = 0x000007ffL;
constexpr unsigned int PA_SC_BINNER_PERF_CNTL_3__BATCH_HIST_NUM_PS_WAVE_BREAKS_THRESHOLD_MASK = 0xffffffffL;
constexpr unsigned int PA_SC_BINNER_TIMEOUT_COUNTER__THRESHOLD_MASK       = 0xffffffffL;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_0__DISTANCE_0_MASK         = 0x0000000fL;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_0__DISTANCE_1_MASK         = 0x000000f0L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_0__DISTANCE_2_MASK         = 0x00000f00L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_0__DISTANCE_3_MASK         = 0x0000f000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_0__DISTANCE_4_MASK         = 0x000f0000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_0__DISTANCE_5_MASK         = 0x00f00000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_0__DISTANCE_6_MASK         = 0x0f000000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_0__DISTANCE_7_MASK         = 0xf0000000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_1__DISTANCE_8_MASK         = 0x0000000fL;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_1__DISTANCE_9_MASK         = 0x000000f0L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_1__DISTANCE_10_MASK        = 0x00000f00L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_1__DISTANCE_11_MASK        = 0x0000f000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_1__DISTANCE_12_MASK        = 0x000f0000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_1__DISTANCE_13_MASK        = 0x00f00000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_1__DISTANCE_14_MASK        = 0x0f000000L;
constexpr unsigned int PA_SC_CENTROID_PRIORITY_1__DISTANCE_15_MASK        = 0xf0000000L;
constexpr unsigned int PA_SC_CLIPRECT_0_BR__BR_X_MASK                     = 0x00007fffL;
constexpr unsigned int PA_SC_CLIPRECT_0_BR__BR_Y_MASK                     = 0x7fff0000L;
constexpr unsigned int PA_SC_CLIPRECT_0_TL__TL_X_MASK                     = 0x00007fffL;
constexpr unsigned int PA_SC_CLIPRECT_0_TL__TL_Y_MASK                     = 0x7fff0000L;
constexpr unsigned int PA_SC_CLIPRECT_1_BR__BR_X_MASK                     = 0x00007fffL;
constexpr unsigned int PA_SC_CLIPRECT_1_BR__BR_Y_MASK                     = 0x7fff0000L;
constexpr unsigned int PA_SC_CLIPRECT_1_TL__TL_X_MASK                     = 0x00007fffL;
constexpr unsigned int PA_SC_CLIPRECT_1_TL__TL_Y_MASK                     = 0x7fff0000L;
constexpr unsigned int PA_SC_CLIPRECT_2_BR__BR_X_MASK                     = 0x00007fffL;
constexpr unsigned int PA_SC_CLIPRECT_2_BR__BR_Y_MASK                     = 0x7fff0000L;
constexpr unsigned int PA_SC_CLIPRECT_2_TL__TL_X_MASK                     = 0x00007fffL;
constexpr unsigned int PA_SC_CLIPRECT_2_TL__TL_Y_MASK                     = 0x7fff0000L;
constexpr unsigned int PA_SC_CLIPRECT_3_BR__BR_X_MASK                     = 0x00007fffL;
constexpr unsigned int PA_SC_CLIPRECT_3_BR__BR_Y_MASK                     = 0x7fff0000L;
constexpr unsigned int PA_SC_CLIPRECT_3_TL__TL_X_MASK                     = 0x00007fffL;
constexpr unsigned int PA_SC_CLIPRECT_3_TL__TL_Y_MASK                     = 0x7fff0000L;
constexpr unsigned int PA_SC_CLIPRECT_RULE__CLIP_RULE_MASK                = 0x0000ffffL;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__CENTROID_SAMPLE_OVERRIDE_MASK = 0x01000000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__COVERAGE_AA_MASK_ENABLE_MASK = 0x00200000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__DEGENERATE_OVERRIDE_INNER_TO_NORMAL_DISABLE_MASK = 0x00008000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__INNER_UNCERTAINTY_EDGERULE_OVERRIDE_MASK = 0x00080000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__NULL_SQUAD_AA_MASK_ENABLE_MASK = 0x00100000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__OUTER_UNCERTAINTY_EDGERULE_OVERRIDE_MASK = 0x00040000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__OVERRIDE_OVER_RAST_INNER_TO_NORMAL_MASK = 0x00002000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__OVERRIDE_UNDER_RAST_INNER_TO_NORMAL_MASK = 0x00004000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__OVER_RAST_ENABLE_MASK = 0x00000001L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__OVER_RAST_SAMPLE_SELECT_MASK = 0x0000001eL;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__PBB_UNCERTAINTY_REGION_ENABLE_MASK = 0x00000400L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__POSTZ_AA_MASK_ENABLE_MASK = 0x00800000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__PREZ_AA_MASK_ENABLE_MASK = 0x00400000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__UNCERTAINTY_REGION_MODE_MASK = 0x00030000L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__UNDER_RAST_ENABLE_MASK = 0x00000020L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__UNDER_RAST_SAMPLE_SELECT_MASK = 0x000003c0L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__ZMM_TRI_EXTENT_MASK = 0x00000800L;
constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__ZMM_TRI_OFFSET_MASK = 0x00001000L;
constexpr unsigned int PA_SC_DSM_CNTL__FORCE_EOV_REZ_0_MASK               = 0x00000001L;
constexpr unsigned int PA_SC_DSM_CNTL__FORCE_EOV_REZ_1_MASK               = 0x00000002L;
constexpr unsigned int PA_SC_EDGERULE__ER_LINE_BT_MASK                    = 0xf0000000L;
constexpr unsigned int PA_SC_EDGERULE__ER_LINE_LR_MASK                    = 0x0003f000L;
constexpr unsigned int PA_SC_EDGERULE__ER_LINE_RL_MASK                    = 0x00fc0000L;
constexpr unsigned int PA_SC_EDGERULE__ER_LINE_TB_MASK                    = 0x0f000000L;
constexpr unsigned int PA_SC_EDGERULE__ER_POINT_MASK                      = 0x000000f0L;
constexpr unsigned int PA_SC_EDGERULE__ER_RECT_MASK                       = 0x00000f00L;
constexpr unsigned int PA_SC_EDGERULE__ER_TRI_MASK                        = 0x0000000fL;
constexpr unsigned int PA_SC_ENHANCE_1__BYPASS_PBB_MASK                   = 0x00000010L;
constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_PACKER_ODC_ENHANCE_MASK   = 0x00010000L;
constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_PBB_BINNING_CLK_OPTIMIZATION_MASK = 0x00400000L;
constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_PBB_CLK_OPTIMIZATION_MASK = 0x00100000L;
constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_PBB_SCISSOR_CLK_OPTIMIZATION_MASK = 0x00200000L;
constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_PBB_SCISSOR_OPT_MASK      = 0x00000400L;
constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_SC_BINNING_MASK           = 0x00000008L;
constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_SC_DB_TILE_INTF_FINE_CLOCK_GATE_MASK = 0x00004000L;
constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_SC_PROCESS_RESET_PBB_MASK = 0x00000200L;
constexpr unsigned int PA_SC_ENHANCE_1__ECO_SPARE1_MASK                   = 0x00000040L;
constexpr unsigned int PA_SC_ENHANCE_1__ECO_SPARE2_MASK                   = 0x00000080L;
constexpr unsigned int PA_SC_ENHANCE_1__ECO_SPARE3_MASK                   = 0x00000100L;
constexpr unsigned int PA_SC_ENHANCE_1__OPTIMAL_BIN_SELECTION_MASK        = 0x00040000L;
constexpr unsigned int PA_SC_ENHANCE_1__REALIGN_DQUADS_OVERRIDE_ENABLE_MASK = 0x00000001L;
constexpr unsigned int PA_SC_ENHANCE_1__REALIGN_DQUADS_OVERRIDE_MASK      = 0x00000006L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_AA_MASK_FULL_FIX_MASK       = 0x00000004L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_DUALGRAD_PERF_OPTIMIZATION_MASK = 0x00000080L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_EOP_LINE_STIPPLE_RESET_MASK = 0x04000000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_EOV_ALL_CTRL_ONLY_COMBINATIONS_MASK = 0x00001000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_OOO_NO_EOPG_SKEW_DESIRED_FIFO_IS_CURRENT_FIFO_MASK = 0x00800000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_OUT_OF_ORDER_DESIRED_FIFO_EMPTY_SWITCHING_MASK = 0x00080000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_OUT_OF_ORDER_EMPTY_SWITCHING_HYSTERYSIS_MASK = 0x00200000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_OUT_OF_ORDER_EOP_SYNC_NULL_PRIMS_LAST_MASK = 0x00010000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_OUT_OF_ORDER_PA_SC_GUIDANCE_MASK = 0x00004000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_OUT_OF_ORDER_SELECTED_FIFO_EMPTY_SWITCHING_MASK = 0x00100000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_OUT_OF_ORDER_THRESHOLD_SWITCHING_MASK = 0x00020000L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_PA_SC_GUIDANCE_MASK         = 0x00000800L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_SCISSOR_FIX_MASK            = 0x00000020L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_SC_DB_TILE_FIX_MASK         = 0x00000002L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_SC_PROCESS_RESET_PRIM_MASK  = 0x00000100L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_SC_PROCESS_RESET_SUPERTILE_MASK = 0x00000200L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_SC_PROCESS_RESET_TILE_MASK  = 0x00000400L;
constexpr unsigned int PA_SC_ENHANCE__DISABLE_VPZ_EOP_LINE_STIPPLE_RESET_MASK = 0x08000000L;
constexpr unsigned int PA_SC_ENHANCE__ENABLE_1XMSAA_SAMPLE_LOCATIONS_MASK = 0x00000008L;
constexpr unsigned int PA_SC_ENHANCE__ENABLE_1XMSAA_SAMPLE_LOC_CENTROID_MASK = 0x00000010L;
constexpr unsigned int PA_SC_ENHANCE__ENABLE_MULTICYCLE_BUBBLE_FREEZE_MASK = 0x00002000L;
constexpr unsigned int PA_SC_ENHANCE__ENABLE_OUT_OF_ORDER_DESIRED_FIFO_IS_NEXT_FEID_MASK = 0x00400000L;
constexpr unsigned int PA_SC_ENHANCE__ENABLE_OUT_OF_ORDER_POLY_MODE_MASK  = 0x00008000L;
constexpr unsigned int PA_SC_ENHANCE__ENABLE_OUT_OF_ORDER_THRESHOLD_SWITCH_AT_EOPG_ONLY_MASK = 0x00040000L;
constexpr unsigned int PA_SC_ENHANCE__ENABLE_PA_SC_OUT_OF_ORDER_MASK      = 0x00000001L;
constexpr unsigned int PA_SC_ENHANCE__IOO_DISABLE_SCAN_UNSELECTED_FIFOS_FOR_DUAL_GFX_RING_CHANGE_MASK = 0x10000000L;
constexpr unsigned int PA_SC_ENHANCE__OOO_DISABLE_EOPG_SKEW_THRESHOLD_SWITCHING_MASK = 0x02000000L;
constexpr unsigned int PA_SC_ENHANCE__OOO_DISABLE_EOP_ON_FIRST_LIVE_PRIM_HIT_MASK = 0x01000000L;
constexpr unsigned int PA_SC_ENHANCE__OOO_USE_ABSOLUTE_FIFO_COUNT_IN_THRESHOLD_SWITCHING_MASK = 0x20000000L;
constexpr unsigned int PA_SC_ENHANCE__SEND_UNLIT_STILES_TO_PACKER_MASK    = 0x00000040L;
constexpr unsigned int PA_SC_FIFO_DEPTH_CNTL__DEPTH_MASK                  = 0x000003ffL;
constexpr unsigned int PA_SC_FIFO_SIZE__SC_BACKEND_PRIM_FIFO_SIZE_MASK    = 0x00007fc0L;
constexpr unsigned int PA_SC_FIFO_SIZE__SC_EARLYZ_TILE_FIFO_SIZE_MASK     = 0xffe00000L;
constexpr unsigned int PA_SC_FIFO_SIZE__SC_FRONTEND_PRIM_FIFO_SIZE_MASK   = 0x0000003fL;
constexpr unsigned int PA_SC_FIFO_SIZE__SC_HIZ_TILE_FIFO_SIZE_MASK        = 0x001f8000L;
constexpr unsigned int PA_SC_FORCE_EOV_MAX_CNTS__FORCE_EOV_MAX_CLK_CNT_MASK = 0x0000ffffL;
constexpr unsigned int PA_SC_FORCE_EOV_MAX_CNTS__FORCE_EOV_MAX_REZ_CNT_MASK = 0xffff0000L;
constexpr unsigned int PA_SC_GENERIC_SCISSOR_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_GENERIC_SCISSOR_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_GENERIC_SCISSOR_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_GENERIC_SCISSOR_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_GENERIC_SCISSOR_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_HP3D_TRAP_SCREEN_COUNT__COUNT_MASK           = 0x0000ffffL;
constexpr unsigned int PA_SC_HP3D_TRAP_SCREEN_HV_EN__ENABLE_HV_PRE_SHADER_MASK = 0x00000001L;
constexpr unsigned int PA_SC_HP3D_TRAP_SCREEN_HV_EN__FORCE_PRE_SHADER_ALL_PIXELS_MASK = 0x00000002L;
constexpr unsigned int PA_SC_HP3D_TRAP_SCREEN_HV_LOCK__DISABLE_NON_PRIV_WRITES_MASK = 0x00000001L;
constexpr unsigned int PA_SC_HP3D_TRAP_SCREEN_H__X_COORD_MASK             = 0x00003fffL;
constexpr unsigned int PA_SC_HP3D_TRAP_SCREEN_OCCURRENCE__COUNT_MASK      = 0x0000ffffL;
constexpr unsigned int PA_SC_HP3D_TRAP_SCREEN_V__Y_COORD_MASK             = 0x00003fffL;
constexpr unsigned int PA_SC_IF_FIFO_SIZE__SC_BCI_IF_FIFO_SIZE_MASK       = 0x00fc0000L;
constexpr unsigned int PA_SC_IF_FIFO_SIZE__SC_DB_QUAD_IF_FIFO_SIZE_MASK   = 0x00000fc0L;
constexpr unsigned int PA_SC_IF_FIFO_SIZE__SC_DB_TILE_IF_FIFO_SIZE_MASK   = 0x0000003fL;
constexpr unsigned int PA_SC_IF_FIFO_SIZE__SC_SPI_IF_FIFO_SIZE_MASK       = 0x0003f000L;
constexpr unsigned int PA_SC_LINE_CNTL__DX10_DIAMOND_TEST_ENA_MASK        = 0x00001000L;
constexpr unsigned int PA_SC_LINE_CNTL__EXPAND_LINE_WIDTH_MASK            = 0x00000200L;
constexpr unsigned int PA_SC_LINE_CNTL__LAST_PIXEL_MASK                   = 0x00000400L;
constexpr unsigned int PA_SC_LINE_CNTL__PERPENDICULAR_ENDCAP_ENA_MASK     = 0x00000800L;
constexpr unsigned int PA_SC_LINE_STIPPLE_STATE__CURRENT_COUNT_MASK       = 0x0000ff00L;
constexpr unsigned int PA_SC_LINE_STIPPLE_STATE__CURRENT_PTR_MASK         = 0x0000000fL;
constexpr unsigned int PA_SC_LINE_STIPPLE__AUTO_RESET_CNTL_MASK           = 0x60000000L;
constexpr unsigned int PA_SC_LINE_STIPPLE__LINE_PATTERN_MASK              = 0x0000ffffL;
constexpr unsigned int PA_SC_LINE_STIPPLE__PATTERN_BIT_ORDER_MASK         = 0x10000000L;
constexpr unsigned int PA_SC_LINE_STIPPLE__REPEAT_COUNT_MASK              = 0x00ff0000L;
constexpr unsigned int PA_SC_MODE_CNTL_0__COARSE_TILE_STARTS_ON_EVEN_RB_MASK = 0x00000040L;
constexpr unsigned int PA_SC_MODE_CNTL_0__LINE_STIPPLE_ENABLE_MASK        = 0x00000004L;
constexpr unsigned int PA_SC_MODE_CNTL_0__MSAA_ENABLE_MASK                = 0x00000001L;
constexpr unsigned int PA_SC_MODE_CNTL_0__SEND_UNLIT_STILES_TO_PKR_MASK   = 0x00000008L;
constexpr unsigned int PA_SC_MODE_CNTL_0__VPORT_SCISSOR_ENABLE_MASK       = 0x00000002L;
constexpr unsigned int PA_SC_MODE_CNTL_1__FORCE_EOV_CNTDWN_ENABLE_MASK    = 0x02000000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__FORCE_EOV_REZ_ENABLE_MASK       = 0x04000000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__GPU_ID_OVERRIDE_ENABLE_MASK     = 0x00080000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__GPU_ID_OVERRIDE_MASK            = 0x00f00000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__KILL_PIX_POST_DETAIL_MASK_MASK  = 0x00008000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__KILL_PIX_POST_HI_Z_MASK         = 0x00004000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__MULTI_GPU_PRIM_DISCARD_ENABLE_MASK = 0x01000000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__MULTI_GPU_SUPERTILE_ENABLE_MASK = 0x00040000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__MULTI_SHADER_ENGINE_PRIM_DISCARD_ENABLE_MASK = 0x00020000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__OUT_OF_ORDER_PRIMITIVE_ENABLE_MASK = 0x08000000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__OUT_OF_ORDER_WATER_MARK_MASK    = 0x70000000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__PS_ITER_SAMPLE_MASK             = 0x00010000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__SUPERTILE_WALK_ORDER_ENABLE_MASK = 0x00000080L;
constexpr unsigned int PA_SC_MODE_CNTL_1__TILE_COVER_DISABLE_MASK         = 0x00000200L;
constexpr unsigned int PA_SC_MODE_CNTL_1__TILE_COVER_NO_SCISSOR_MASK      = 0x00000400L;
constexpr unsigned int PA_SC_MODE_CNTL_1__TILE_WALK_ORDER_ENABLE_MASK     = 0x00000100L;
constexpr unsigned int PA_SC_MODE_CNTL_1__WALK_ALIGN8_PRIM_FITS_ST_MASK   = 0x00000004L;
constexpr unsigned int PA_SC_MODE_CNTL_1__WALK_ALIGNMENT_MASK             = 0x00000002L;
constexpr unsigned int PA_SC_MODE_CNTL_1__WALK_FENCE_ENABLE_MASK          = 0x00000008L;
constexpr unsigned int PA_SC_MODE_CNTL_1__WALK_FENCE_SIZE_MASK            = 0x00000070L;
constexpr unsigned int PA_SC_MODE_CNTL_1__WALK_SIZE_MASK                  = 0x00000001L;
constexpr unsigned int PA_SC_MODE_CNTL_1__ZMM_LINE_EXTENT_MASK            = 0x00000800L;
constexpr unsigned int PA_SC_MODE_CNTL_1__ZMM_LINE_OFFSET_MASK            = 0x00001000L;
constexpr unsigned int PA_SC_MODE_CNTL_1__ZMM_RECT_EXTENT_MASK            = 0x00002000L;
constexpr unsigned int PA_SC_NGG_MODE_CNTL__MAX_DEALLOCS_IN_WAVE_MASK     = 0x000007ffL;
constexpr unsigned int PA_SC_P3D_TRAP_SCREEN_COUNT__COUNT_MASK            = 0x0000ffffL;
constexpr unsigned int PA_SC_P3D_TRAP_SCREEN_HV_EN__ENABLE_HV_PRE_SHADER_MASK = 0x00000001L;
constexpr unsigned int PA_SC_P3D_TRAP_SCREEN_HV_EN__FORCE_PRE_SHADER_ALL_PIXELS_MASK = 0x00000002L;
constexpr unsigned int PA_SC_P3D_TRAP_SCREEN_HV_LOCK__DISABLE_NON_PRIV_WRITES_MASK = 0x00000001L;
constexpr unsigned int PA_SC_P3D_TRAP_SCREEN_H__X_COORD_MASK              = 0x00003fffL;
constexpr unsigned int PA_SC_P3D_TRAP_SCREEN_OCCURRENCE__COUNT_MASK       = 0x0000ffffL;
constexpr unsigned int PA_SC_P3D_TRAP_SCREEN_V__Y_COORD_MASK              = 0x00003fffL;
constexpr unsigned int PA_SC_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SC_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SC_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER2_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SC_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER3_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SC_PERFCOUNTER4_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER4_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER4_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SC_PERFCOUNTER5_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER5_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER5_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SC_PERFCOUNTER6_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER6_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER6_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SC_PERFCOUNTER7_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER7_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SC_PERFCOUNTER7_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SC_PKR_WAVE_TABLE_CNTL__SIZE_MASK               = 0x0000003fL;
constexpr unsigned int PA_SC_RASTER_CONFIG_1__SE_PAIR_MAP_MASK            = 0x00000003L;
constexpr unsigned int PA_SC_RASTER_CONFIG__PKR_MAP_MASK                  = 0x00000300L;
constexpr unsigned int PA_SC_RASTER_CONFIG__PKR_XSEL2_MASK                = 0x0000c000L;
constexpr unsigned int PA_SC_RASTER_CONFIG__PKR_XSEL_MASK                 = 0x00000c00L;
constexpr unsigned int PA_SC_RASTER_CONFIG__PKR_YSEL_MASK                 = 0x00003000L;
constexpr unsigned int PA_SC_RASTER_CONFIG__RB_MAP_PKR0_MASK              = 0x00000003L;
constexpr unsigned int PA_SC_RASTER_CONFIG__RB_MAP_PKR1_MASK              = 0x0000000cL;
constexpr unsigned int PA_SC_RASTER_CONFIG__RB_XSEL2_MASK                 = 0x00000030L;
constexpr unsigned int PA_SC_RASTER_CONFIG__RB_XSEL_MASK                  = 0x00000040L;
constexpr unsigned int PA_SC_RASTER_CONFIG__RB_YSEL_MASK                  = 0x00000080L;
constexpr unsigned int PA_SC_RASTER_CONFIG__SC_MAP_MASK                   = 0x00030000L;
constexpr unsigned int PA_SC_RASTER_CONFIG__SC_XSEL_MASK                  = 0x000c0000L;
constexpr unsigned int PA_SC_RASTER_CONFIG__SC_YSEL_MASK                  = 0x00300000L;
constexpr unsigned int PA_SC_RASTER_CONFIG__SE_MAP_MASK                   = 0x03000000L;
constexpr unsigned int PA_SC_SCREEN_SCISSOR_BR__BR_X_MASK                 = 0x0000ffffL;
constexpr unsigned int PA_SC_SCREEN_SCISSOR_BR__BR_Y_MASK                 = 0xffff0000L;
constexpr unsigned int PA_SC_SCREEN_SCISSOR_TL__TL_X_MASK                 = 0x0000ffffL;
constexpr unsigned int PA_SC_SCREEN_SCISSOR_TL__TL_Y_MASK                 = 0xffff0000L;
constexpr unsigned int PA_SC_SHADER_CONTROL__REALIGN_DQUADS_AFTER_N_WAVES_MASK = 0x00000003L;
constexpr unsigned int PA_SC_TILE_STEERING_CREST_OVERRIDE__ONE_RB_MODE_ENABLE_MASK = 0x00000001L;
constexpr unsigned int PA_SC_TILE_STEERING_CREST_OVERRIDE__RB_SELECT_MASK = 0x00000060L;
constexpr unsigned int PA_SC_TILE_STEERING_CREST_OVERRIDE__SE_SELECT_MASK = 0x00000006L;
constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__ENABLE_MASK          = 0x00000001L;
constexpr unsigned int PA_SC_TRAP_SCREEN_COUNT__COUNT_MASK                = 0x0000ffffL;
constexpr unsigned int PA_SC_TRAP_SCREEN_HV_EN__ENABLE_HV_PRE_SHADER_MASK = 0x00000001L;
constexpr unsigned int PA_SC_TRAP_SCREEN_HV_EN__FORCE_PRE_SHADER_ALL_PIXELS_MASK = 0x00000002L;
constexpr unsigned int PA_SC_TRAP_SCREEN_HV_LOCK__DISABLE_NON_PRIV_WRITES_MASK = 0x00000001L;
constexpr unsigned int PA_SC_TRAP_SCREEN_H__X_COORD_MASK                  = 0x00003fffL;
constexpr unsigned int PA_SC_TRAP_SCREEN_OCCURRENCE__COUNT_MASK           = 0x0000ffffL;
constexpr unsigned int PA_SC_TRAP_SCREEN_V__Y_COORD_MASK                  = 0x00003fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_0_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_0_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_0_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_0_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_0_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_1_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_1_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_1_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_1_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_1_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_2_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_2_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_2_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_2_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_2_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_3_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_3_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_3_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_3_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_3_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_4_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_4_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_4_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_4_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_4_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_5_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_5_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_5_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_5_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_5_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_6_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_6_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_6_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_6_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_6_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_7_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_7_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_7_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_7_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_7_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_8_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_8_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_8_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_8_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_8_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_9_BR__BR_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_9_BR__BR_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_9_TL__TL_X_MASK                = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_9_TL__TL_Y_MASK                = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_9_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_10_BR__BR_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_10_BR__BR_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_10_TL__TL_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_10_TL__TL_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_10_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_11_BR__BR_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_11_BR__BR_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_11_TL__TL_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_11_TL__TL_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_11_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_12_BR__BR_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_12_BR__BR_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_12_TL__TL_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_12_TL__TL_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_12_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_13_BR__BR_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_13_BR__BR_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_13_TL__TL_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_13_TL__TL_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_13_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_14_BR__BR_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_14_BR__BR_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_14_TL__TL_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_14_TL__TL_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_14_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_15_BR__BR_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_15_BR__BR_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_15_TL__TL_X_MASK               = 0x00007fffL;
constexpr unsigned int PA_SC_VPORT_SCISSOR_15_TL__TL_Y_MASK               = 0x7fff0000L;
constexpr unsigned int PA_SC_VPORT_SCISSOR_15_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SC_VPORT_ZMAX_0__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_1__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_2__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_3__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_4__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_5__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_6__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_7__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_8__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_9__VPORT_ZMAX_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_10__VPORT_ZMAX_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_11__VPORT_ZMAX_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_12__VPORT_ZMAX_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_13__VPORT_ZMAX_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_14__VPORT_ZMAX_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMAX_15__VPORT_ZMAX_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_0__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_1__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_2__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_3__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_4__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_5__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_6__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_7__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_8__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_9__VPORT_ZMIN_MASK                = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_10__VPORT_ZMIN_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_11__VPORT_ZMIN_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_12__VPORT_ZMIN_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_13__VPORT_ZMIN_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_14__VPORT_ZMIN_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_VPORT_ZMIN_15__VPORT_ZMIN_MASK               = 0xffffffffL;
constexpr unsigned int PA_SC_WINDOW_OFFSET__WINDOW_X_OFFSET_MASK          = 0x0000ffffL;
constexpr unsigned int PA_SC_WINDOW_OFFSET__WINDOW_Y_OFFSET_MASK          = 0xffff0000L;
constexpr unsigned int PA_SC_WINDOW_SCISSOR_BR__BR_X_MASK                 = 0x00007fffL;
constexpr unsigned int PA_SC_WINDOW_SCISSOR_BR__BR_Y_MASK                 = 0x7fff0000L;
constexpr unsigned int PA_SC_WINDOW_SCISSOR_TL__TL_X_MASK                 = 0x00007fffL;
constexpr unsigned int PA_SC_WINDOW_SCISSOR_TL__TL_Y_MASK                 = 0x7fff0000L;
constexpr unsigned int PA_SC_WINDOW_SCISSOR_TL__WINDOW_OFFSET_DISABLE_MASK = 0x80000000L;
constexpr unsigned int PA_SU_CNTL_STATUS__SU_BUSY_MASK                    = 0x80000000L;
constexpr unsigned int PA_SU_HARDWARE_SCREEN_OFFSET__HW_SCREEN_OFFSET_X_MASK = 0x000001ffL;
constexpr unsigned int PA_SU_HARDWARE_SCREEN_OFFSET__HW_SCREEN_OFFSET_Y_MASK = 0x01ff0000L;
constexpr unsigned int PA_SU_LINE_CNTL__WIDTH_MASK                        = 0x0000ffffL;
constexpr unsigned int PA_SU_LINE_STIPPLE_CNTL__EXPAND_FULL_LENGTH_MASK   = 0x00000004L;
constexpr unsigned int PA_SU_LINE_STIPPLE_CNTL__FRACTIONAL_ACCUM_MASK     = 0x00000008L;
constexpr unsigned int PA_SU_LINE_STIPPLE_CNTL__LINE_STIPPLE_RESET_MASK   = 0x00000003L;
constexpr unsigned int PA_SU_LINE_STIPPLE_SCALE__LINE_STIPPLE_SCALE_MASK  = 0xffffffffL;
constexpr unsigned int PA_SU_LINE_STIPPLE_VALUE__LINE_STIPPLE_VALUE_MASK  = 0x00ffffffL;
constexpr unsigned int PA_SU_OVER_RASTERIZATION_CNTL__DISCARD_0_AREA_LINES_MASK = 0x00000002L;
constexpr unsigned int PA_SU_OVER_RASTERIZATION_CNTL__DISCARD_0_AREA_POINTS_MASK = 0x00000004L;
constexpr unsigned int PA_SU_OVER_RASTERIZATION_CNTL__DISCARD_0_AREA_RECTANGLES_MASK = 0x00000008L;
constexpr unsigned int PA_SU_OVER_RASTERIZATION_CNTL__DISCARD_0_AREA_TRIANGLES_MASK = 0x00000001L;
constexpr unsigned int PA_SU_OVER_RASTERIZATION_CNTL__USE_PROVOKING_ZW_MASK = 0x00000010L;
constexpr unsigned int PA_SU_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SU_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SU_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SU_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT__PERF_SEL_MASK           = 0x000003ffL;
constexpr unsigned int PA_SU_POINT_MINMAX__MAX_SIZE_MASK                  = 0xffff0000L;
constexpr unsigned int PA_SU_POINT_MINMAX__MIN_SIZE_MASK                  = 0x0000ffffL;
constexpr unsigned int PA_SU_POINT_SIZE__HEIGHT_MASK                      = 0x0000ffffL;
constexpr unsigned int PA_SU_POINT_SIZE__WIDTH_MASK                       = 0xffff0000L;
constexpr unsigned int PA_SU_POLY_OFFSET_BACK_OFFSET__OFFSET_MASK         = 0xffffffffL;
constexpr unsigned int PA_SU_POLY_OFFSET_BACK_SCALE__SCALE_MASK           = 0xffffffffL;
constexpr unsigned int PA_SU_POLY_OFFSET_CLAMP__CLAMP_MASK                = 0xffffffffL;
constexpr unsigned int PA_SU_POLY_OFFSET_DB_FMT_CNTL__POLY_OFFSET_DB_IS_FLOAT_FMT_MASK = 0x00000100L;
constexpr unsigned int PA_SU_POLY_OFFSET_DB_FMT_CNTL__POLY_OFFSET_NEG_NUM_DB_BITS_MASK = 0x000000ffL;
constexpr unsigned int PA_SU_POLY_OFFSET_FRONT_OFFSET__OFFSET_MASK        = 0xffffffffL;
constexpr unsigned int PA_SU_POLY_OFFSET_FRONT_SCALE__SCALE_MASK          = 0xffffffffL;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__LINE_EXPAND_ENA_MASK       = 0x00000020L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__LINE_FILTER_DISABLE_MASK   = 0x00000002L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__POINT_EXPAND_ENA_MASK      = 0x00000040L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__POINT_FILTER_DISABLE_MASK  = 0x00000004L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__PRIM_EXPAND_CONSTANT_MASK  = 0x0000ff00L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__RECTANGLE_EXPAND_ENA_MASK  = 0x00000080L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__RECTANGLE_FILTER_DISABLE_MASK = 0x00000008L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__TRIANGLE_EXPAND_ENA_MASK   = 0x00000010L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__TRIANGLE_FILTER_DISABLE_MASK = 0x00000001L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__XMAX_RIGHT_EXCLUSION_MASK  = 0x40000000L;
constexpr unsigned int PA_SU_PRIM_FILTER_CNTL__YMAX_BOTTOM_EXCLUSION_MASK = 0x80000000L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__CULL_BACK_MASK                 = 0x00000002L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__CULL_FRONT_MASK                = 0x00000001L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__FACE_MASK                      = 0x00000004L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__MULTI_PRIM_IB_ENA_MASK         = 0x00200000L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__NEW_QUAD_DECOMPOSITION_MASK    = 0x00800000L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__PERSP_CORR_DIS_MASK            = 0x00100000L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__POLYMODE_BACK_PTYPE_MASK       = 0x00000700L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__POLYMODE_FRONT_PTYPE_MASK      = 0x000000e0L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__POLY_MODE_MASK                 = 0x00000018L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__POLY_OFFSET_BACK_ENABLE_MASK   = 0x00001000L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__POLY_OFFSET_FRONT_ENABLE_MASK  = 0x00000800L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__POLY_OFFSET_PARA_ENABLE_MASK   = 0x00002000L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__PROVOKING_VTX_LAST_MASK        = 0x00080000L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__RIGHT_TRIANGLE_ALTERNATE_GRADIENT_REF_MASK = 0x00400000L;
constexpr unsigned int PA_SU_SC_MODE_CNTL__VTX_WINDOW_OFFSET_ENABLE_MASK  = 0x00010000L;
constexpr unsigned int PA_SU_SMALL_PRIM_FILTER_CNTL__LINE_FILTER_DISABLE_MASK = 0x00000004L;
constexpr unsigned int PA_SU_SMALL_PRIM_FILTER_CNTL__POINT_FILTER_DISABLE_MASK = 0x00000008L;
constexpr unsigned int PA_SU_SMALL_PRIM_FILTER_CNTL__RECTANGLE_FILTER_DISABLE_MASK = 0x00000010L;
constexpr unsigned int PA_SU_SMALL_PRIM_FILTER_CNTL__SMALL_PRIM_FILTER_ENABLE_MASK = 0x00000001L;
constexpr unsigned int PA_SU_SMALL_PRIM_FILTER_CNTL__TRIANGLE_FILTER_DISABLE_MASK = 0x00000002L;
constexpr unsigned int PA_SU_VTX_CNTL__PIX_CENTER_MASK                    = 0x00000001L;
constexpr unsigned int PA_SU_VTX_CNTL__QUANT_MODE_MASK                    = 0x00000038L;
constexpr unsigned int PA_SU_VTX_CNTL__ROUND_MODE_MASK                    = 0x00000006L;
constexpr unsigned int RLC_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int RLC_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int RLC_PERFCOUNTER0_SELECT__PERFCOUNTER_SELECT_MASK   = 0x000000ffL;
constexpr unsigned int RLC_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int RLC_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int RLC_PERFCOUNTER1_SELECT__PERFCOUNTER_SELECT_MASK   = 0x000000ffL;
constexpr unsigned int RLC_PERFMON_CNTL__PERFMON_SAMPLE_ENABLE_MASK       = 0x00000400L;
constexpr unsigned int RLC_PERFMON_CNTL__PERFMON_STATE_MASK               = 0x00000007L;
constexpr unsigned int RLC_SPM_INT_CNTL__RESERVED_MASK                    = 0xfffffffeL;
constexpr unsigned int RLC_SPM_INT_CNTL__RLC_SPM_INT_CNTL_MASK            = 0x00000001L;
constexpr unsigned int RLC_SPM_INT_STATUS__RESERVED_MASK                  = 0xfffffffeL;
constexpr unsigned int RLC_SPM_INT_STATUS__RLC_SPM_INT_STATUS_MASK        = 0x00000001L;
constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_VMID_MASK                 = 0x0000000fL;
constexpr unsigned int RLC_SPM_PERFMON_CNTL__PERFMON_RING_MODE_MASK       = 0x00003000L;
constexpr unsigned int RLC_SPM_PERFMON_CNTL__PERFMON_SAMPLE_INTERVAL_MASK = 0xffff0000L;
constexpr unsigned int RLC_SPM_PERFMON_RING_BASE_HI__RESERVED_MASK        = 0xffff0000L;
constexpr unsigned int RLC_SPM_PERFMON_RING_BASE_HI__RING_BASE_HI_MASK    = 0x0000ffffL;
constexpr unsigned int RLC_SPM_PERFMON_RING_BASE_LO__RING_BASE_LO_MASK    = 0xffffffffL;
constexpr unsigned int RLC_SPM_PERFMON_RING_SIZE__RING_BASE_SIZE_MASK     = 0xffffffffL;
constexpr unsigned int RLC_SPM_RING_RDPTR__PERFMON_RING_RDPTR_MASK        = 0xffffffffL;
constexpr unsigned int RLC_SPM_UTCL1_CNTL__BYPASS_MASK                    = 0x02000000L;
constexpr unsigned int RLC_SPM_UTCL1_CNTL__DROP_MODE_MASK                 = 0x01000000L;
constexpr unsigned int RLC_SPM_UTCL1_CNTL__FORCE_SNOOP_MASK               = 0x10000000L;
constexpr unsigned int RLC_SPM_UTCL1_CNTL__FRAG_LIMIT_MODE_MASK           = 0x08000000L;
constexpr unsigned int RLC_SPM_UTCL1_CNTL__INVALIDATE_MASK                = 0x04000000L;
constexpr unsigned int RLC_SPM_UTCL1_CNTL__RESERVED_MASK                  = 0xc0000000L;
constexpr unsigned int RLC_SPM_UTCL1_CNTL__XNACK_REDO_TIMER_CNT_MASK      = 0x000fffffL;
constexpr unsigned int RLC_SPM_UTCL1_ERROR_1__Translated_ReqErrorAddr_MSB_MASK = 0x000003c0L;
constexpr unsigned int RLC_SPM_UTCL1_ERROR_1__Translated_ReqErrorVmid_MASK = 0x0000003cL;
constexpr unsigned int RLC_SPM_UTCL1_ERROR_1__Translated_ReqError_MASK    = 0x00000003L;
constexpr unsigned int RLC_SPM_UTCL1_ERROR_2__Translated_ReqErrorAddr_LSB_MASK = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int RMI_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int RMI_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int RMI_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int RMI_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int RMI_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int RMI_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int RMI_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int RMI_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int RMI_PERFCOUNTER2_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int RMI_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int RMI_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int RMI_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__EVENT_BASED_PERF_EN_SEL_MASK = 0x0000000cL;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__PERF_CNTR_SPM_SEL_MASK      = 0x04000000L;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__PERF_COUNTER_BURST_LENGTH_THRESHOLD_MASK = 0x01f80000L;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__PERF_COUNTER_CID_MASK       = 0x00003c00L;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__PERF_COUNTER_VMID_MASK      = 0x0007c000L;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__PERF_EVENT_WINDOW_MASK0_MASK = 0x000000c0L;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__PERF_SOFT_RESET_MASK        = 0x02000000L;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__TC_PERF_EN_SEL_MASK         = 0x00000030L;
constexpr unsigned int RMI_PERF_COUNTER_CNTL__TRANS_BASED_PERF_EN_SEL_MASK = 0x00000003L;
constexpr unsigned int SPI_ARB_CNTL_0__EXP_ARB_COL_WT_MASK                = 0x0000000fL;
constexpr unsigned int SPI_ARB_CNTL_0__EXP_ARB_GDS_WT_MASK                = 0x00000f00L;
constexpr unsigned int SPI_ARB_CNTL_0__EXP_ARB_POS_WT_MASK                = 0x000000f0L;
constexpr unsigned int SPI_ARB_CYCLES_0__TS0_DURATION_MASK                = 0x0000ffffL;
constexpr unsigned int SPI_ARB_CYCLES_0__TS1_DURATION_MASK                = 0xffff0000L;
constexpr unsigned int SPI_ARB_CYCLES_1__TS2_DURATION_MASK                = 0x0000ffffL;
constexpr unsigned int SPI_ARB_CYCLES_1__TS3_DURATION_MASK                = 0xffff0000L;
constexpr unsigned int SPI_ARB_PRIORITY__PIPE_ORDER_TS0_MASK              = 0x00000007L;
constexpr unsigned int SPI_ARB_PRIORITY__PIPE_ORDER_TS1_MASK              = 0x00000038L;
constexpr unsigned int SPI_ARB_PRIORITY__PIPE_ORDER_TS2_MASK              = 0x000001c0L;
constexpr unsigned int SPI_ARB_PRIORITY__PIPE_ORDER_TS3_MASK              = 0x00000e00L;
constexpr unsigned int SPI_ARB_PRIORITY__TS0_DUR_MULT_MASK                = 0x00003000L;
constexpr unsigned int SPI_ARB_PRIORITY__TS1_DUR_MULT_MASK                = 0x0000c000L;
constexpr unsigned int SPI_ARB_PRIORITY__TS2_DUR_MULT_MASK                = 0x00030000L;
constexpr unsigned int SPI_ARB_PRIORITY__TS3_DUR_MULT_MASK                = 0x000c0000L;
constexpr unsigned int SPI_BARYC_CNTL__FRONT_FACE_ALL_BITS_MASK           = 0x01000000L;
constexpr unsigned int SPI_BARYC_CNTL__LINEAR_CENTER_CNTL_MASK            = 0x00000100L;
constexpr unsigned int SPI_BARYC_CNTL__LINEAR_CENTROID_CNTL_MASK          = 0x00001000L;
constexpr unsigned int SPI_BARYC_CNTL__PERSP_CENTER_CNTL_MASK             = 0x00000001L;
constexpr unsigned int SPI_BARYC_CNTL__PERSP_CENTROID_CNTL_MASK           = 0x00000010L;
constexpr unsigned int SPI_BARYC_CNTL__POS_FLOAT_LOCATION_MASK            = 0x00030000L;
constexpr unsigned int SPI_BARYC_CNTL__POS_FLOAT_ULC_MASK                 = 0x00100000L;
constexpr unsigned int SPI_COMPUTE_QUEUE_RESET__RESET_MASK                = 0x00000001L;
constexpr unsigned int SPI_COMPUTE_WF_CTX_SAVE__DONE_INTERRUPT_EN_MASK    = 0x00000004L;
constexpr unsigned int SPI_COMPUTE_WF_CTX_SAVE__GDS_INTERRUPT_EN_MASK     = 0x00000002L;
constexpr unsigned int SPI_COMPUTE_WF_CTX_SAVE__GDS_REQ_BUSY_MASK         = 0x40000000L;
constexpr unsigned int SPI_COMPUTE_WF_CTX_SAVE__INITIATE_MASK             = 0x00000001L;
constexpr unsigned int SPI_COMPUTE_WF_CTX_SAVE__SAVE_BUSY_MASK            = 0x80000000L;
constexpr unsigned int SPI_CONFIG_CNTL_1__CSC_PWR_SAVE_DISABLE_MASK       = 0x00004000L;
constexpr unsigned int SPI_CONFIG_CNTL_1__CSG_PWR_SAVE_DISABLE_MASK       = 0x00008000L;
constexpr unsigned int SPI_CONFIG_CNTL_1__INTERP_ONE_PRIM_PER_ROW_MASK    = 0x00000010L;
constexpr unsigned int SPI_CONFIG_CNTL_1__PC_LIMIT_STRICT_MASK            = 0x00000080L;
constexpr unsigned int SPI_CONFIG_CNTL_1__VTX_DONE_DELAY_MASK             = 0x0000000fL;
constexpr unsigned int SPI_CONFIG_CNTL_2__CONTEXT_SAVE_WAIT_GDS_GRANT_CYCLE_OVHD_MASK = 0x000000f0L;
constexpr unsigned int SPI_CONFIG_CNTL_2__CONTEXT_SAVE_WAIT_GDS_REQUEST_CYCLE_OVHD_MASK = 0x0000000fL;
constexpr unsigned int SPI_CONFIG_CNTL__ALLOC_ARB_LRU_ENA_MASK            = 0x10000000L;
constexpr unsigned int SPI_CONFIG_CNTL__ENABLE_SQG_BOP_EVENTS_MASK        = 0x02000000L;
constexpr unsigned int SPI_CONFIG_CNTL__ENABLE_SQG_TOP_EVENTS_MASK        = 0x01000000L;
constexpr unsigned int SPI_CONFIG_CNTL__EXP_ARB_LRU_ENA_MASK              = 0x20000000L;
constexpr unsigned int SPI_CONFIG_CNTL__EXP_PRIORITY_ORDER_MASK           = 0x00e00000L;
constexpr unsigned int SPI_CONFIG_CNTL__GPR_WRITE_PRIORITY_MASK           = 0x001fffffL;
constexpr unsigned int SPI_CONFIG_CNTL__PS_PKR_PRIORITY_CNTL_MASK         = 0xc0000000L;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_0__COUNT_MASK              = 0x000007ffL;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_0__EVENTS_MASK             = 0x07ff0000L;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_1__COUNT_MASK              = 0x000007ffL;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_1__EVENTS_MASK             = 0x07ff0000L;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_2__COUNT_MASK              = 0x000007ffL;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_2__EVENTS_MASK             = 0x07ff0000L;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_3__COUNT_MASK              = 0x000007ffL;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_3__EVENTS_MASK             = 0x07ff0000L;
constexpr unsigned int SPI_CSQ_WF_ACTIVE_STATUS__ACTIVE_MASK              = 0xffffffffL;
constexpr unsigned int SPI_DSM_CNTL2__SPI_SR_MEM_ENABLE_ERROR_INJECT_MASK = 0x00000003L;
constexpr unsigned int SPI_DSM_CNTL2__SPI_SR_MEM_SELECT_INJECT_DELAY_MASK = 0x00000004L;
constexpr unsigned int SPI_DSM_CNTL__SPI_SR_MEM_DSM_IRRITATOR_DATA_MASK   = 0x00000003L;
constexpr unsigned int SPI_DSM_CNTL__SPI_SR_MEM_ENABLE_SINGLE_WRITE_MASK  = 0x00000004L;
constexpr unsigned int SPI_EDC_CNT__SPI_SR_MEM_SED_COUNT_MASK             = 0x00000003L;
constexpr unsigned int SPI_GDS_CREDITS__DS_CMD_CREDITS_MASK               = 0x0000ff00L;
constexpr unsigned int SPI_GDS_CREDITS__DS_DATA_CREDITS_MASK              = 0x000000ffL;
constexpr unsigned int SPI_GFX_CNTL__RESET_COUNTS_MASK                    = 0x00000001L;
constexpr unsigned int SPI_INTERP_CONTROL_0__FLAT_SHADE_ENA_MASK          = 0x00000001L;
constexpr unsigned int SPI_INTERP_CONTROL_0__PNT_SPRITE_ENA_MASK          = 0x00000002L;
constexpr unsigned int SPI_INTERP_CONTROL_0__PNT_SPRITE_OVRD_W_MASK       = 0x00003800L;
constexpr unsigned int SPI_INTERP_CONTROL_0__PNT_SPRITE_OVRD_X_MASK       = 0x0000001cL;
constexpr unsigned int SPI_INTERP_CONTROL_0__PNT_SPRITE_OVRD_Y_MASK       = 0x000000e0L;
constexpr unsigned int SPI_INTERP_CONTROL_0__PNT_SPRITE_OVRD_Z_MASK       = 0x00000700L;
constexpr unsigned int SPI_INTERP_CONTROL_0__PNT_SPRITE_TOP_1_MASK        = 0x00004000L;
constexpr unsigned int SPI_LB_CTR_CTRL__CLEAR_ON_READ_MASK                = 0x00000008L;
constexpr unsigned int SPI_LB_CTR_CTRL__LOAD_MASK                         = 0x00000001L;
constexpr unsigned int SPI_LB_CTR_CTRL__RESET_COUNTS_MASK                 = 0x00000010L;
constexpr unsigned int SPI_LB_CTR_CTRL__WAVES_SELECT_MASK                 = 0x00000006L;
constexpr unsigned int SPI_LB_DATA_REG__CNT_DATA_MASK                     = 0xffffffffL;
constexpr unsigned int SPI_LB_DATA_WAVES__COUNT0_MASK                     = 0x0000ffffL;
constexpr unsigned int SPI_LB_DATA_WAVES__COUNT1_MASK                     = 0xffff0000L;
constexpr unsigned int SPI_P0_TRAP_SCREEN_GPR_MIN__SGPR_MIN_MASK          = 0x000003c0L;
constexpr unsigned int SPI_P0_TRAP_SCREEN_GPR_MIN__VGPR_MIN_MASK          = 0x0000003fL;
constexpr unsigned int SPI_P0_TRAP_SCREEN_PSBA_HI__MEM_BASE_MASK          = 0x000000ffL;
constexpr unsigned int SPI_P0_TRAP_SCREEN_PSBA_LO__MEM_BASE_MASK          = 0xffffffffL;
constexpr unsigned int SPI_P0_TRAP_SCREEN_PSMA_HI__MEM_BASE_MASK          = 0x000000ffL;
constexpr unsigned int SPI_P0_TRAP_SCREEN_PSMA_LO__MEM_BASE_MASK          = 0xffffffffL;
constexpr unsigned int SPI_P1_TRAP_SCREEN_GPR_MIN__SGPR_MIN_MASK          = 0x000003c0L;
constexpr unsigned int SPI_P1_TRAP_SCREEN_GPR_MIN__VGPR_MIN_MASK          = 0x0000003fL;
constexpr unsigned int SPI_P1_TRAP_SCREEN_PSBA_HI__MEM_BASE_MASK          = 0x000000ffL;
constexpr unsigned int SPI_P1_TRAP_SCREEN_PSBA_LO__MEM_BASE_MASK          = 0xffffffffL;
constexpr unsigned int SPI_P1_TRAP_SCREEN_PSMA_HI__MEM_BASE_MASK          = 0x000000ffL;
constexpr unsigned int SPI_P1_TRAP_SCREEN_PSMA_LO__MEM_BASE_MASK          = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
constexpr unsigned int SPI_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
constexpr unsigned int SPI_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
constexpr unsigned int SPI_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
constexpr unsigned int SPI_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
constexpr unsigned int SPI_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
constexpr unsigned int SPI_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
constexpr unsigned int SPI_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000003ffL;
constexpr unsigned int SPI_PERFCOUNTER4_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER4_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER5_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER5_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int SPI_PERFCOUNTER_BINS__BIN0_MAX_MASK                = 0x000000f0L;
constexpr unsigned int SPI_PERFCOUNTER_BINS__BIN0_MIN_MASK                = 0x0000000fL;
constexpr unsigned int SPI_PERFCOUNTER_BINS__BIN1_MAX_MASK                = 0x0000f000L;
constexpr unsigned int SPI_PERFCOUNTER_BINS__BIN1_MIN_MASK                = 0x00000f00L;
constexpr unsigned int SPI_PERFCOUNTER_BINS__BIN2_MAX_MASK                = 0x00f00000L;
constexpr unsigned int SPI_PERFCOUNTER_BINS__BIN2_MIN_MASK                = 0x000f0000L;
constexpr unsigned int SPI_PERFCOUNTER_BINS__BIN3_MAX_MASK                = 0xf0000000L;
constexpr unsigned int SPI_PERFCOUNTER_BINS__BIN3_MIN_MASK                = 0x0f000000L;
constexpr unsigned int SPI_PS_INPUT_ADDR__ANCILLARY_ENA_MASK              = 0x00002000L;
constexpr unsigned int SPI_PS_INPUT_ADDR__FRONT_FACE_ENA_MASK             = 0x00001000L;
constexpr unsigned int SPI_PS_INPUT_ADDR__LINEAR_CENTER_ENA_MASK          = 0x00000020L;
constexpr unsigned int SPI_PS_INPUT_ADDR__LINEAR_CENTROID_ENA_MASK        = 0x00000040L;
constexpr unsigned int SPI_PS_INPUT_ADDR__LINEAR_SAMPLE_ENA_MASK          = 0x00000010L;
constexpr unsigned int SPI_PS_INPUT_ADDR__LINE_STIPPLE_TEX_ENA_MASK       = 0x00000080L;
constexpr unsigned int SPI_PS_INPUT_ADDR__PERSP_CENTER_ENA_MASK           = 0x00000002L;
constexpr unsigned int SPI_PS_INPUT_ADDR__PERSP_CENTROID_ENA_MASK         = 0x00000004L;
constexpr unsigned int SPI_PS_INPUT_ADDR__PERSP_PULL_MODEL_ENA_MASK       = 0x00000008L;
constexpr unsigned int SPI_PS_INPUT_ADDR__PERSP_SAMPLE_ENA_MASK           = 0x00000001L;
constexpr unsigned int SPI_PS_INPUT_ADDR__POS_FIXED_PT_ENA_MASK           = 0x00008000L;
constexpr unsigned int SPI_PS_INPUT_ADDR__POS_W_FLOAT_ENA_MASK            = 0x00000800L;
constexpr unsigned int SPI_PS_INPUT_ADDR__POS_X_FLOAT_ENA_MASK            = 0x00000100L;
constexpr unsigned int SPI_PS_INPUT_ADDR__POS_Y_FLOAT_ENA_MASK            = 0x00000200L;
constexpr unsigned int SPI_PS_INPUT_ADDR__POS_Z_FLOAT_ENA_MASK            = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_ADDR__SAMPLE_COVERAGE_ENA_MASK        = 0x00004000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_0__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_1__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_2__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_3__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_4__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_5__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_6__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_7__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_8__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__ATTR0_VALID_MASK              = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__ATTR1_VALID_MASK              = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__DEFAULT_VAL_ATTR1_MASK        = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__DEFAULT_VAL_MASK              = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__DUP_MASK                      = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__FLAT_SHADE_MASK               = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__FP16_INTERP_MODE_MASK         = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__OFFSET_MASK                   = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__PT_SPRITE_TEX_ATTR1_MASK      = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__PT_SPRITE_TEX_MASK            = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_9__USE_DEFAULT_ATTR1_MASK        = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_10__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_11__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_12__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_13__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_14__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_15__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_16__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_17__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_18__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__PT_SPRITE_TEX_ATTR1_MASK     = 0x00800000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__PT_SPRITE_TEX_MASK           = 0x00020000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_19__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_20__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_21__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_22__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_23__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_24__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_25__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_26__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_27__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_28__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_29__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_30__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__ATTR0_VALID_MASK             = 0x01000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__ATTR1_VALID_MASK             = 0x02000000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__DEFAULT_VAL_ATTR1_MASK       = 0x00600000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__DEFAULT_VAL_MASK             = 0x00000300L;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__DUP_MASK                     = 0x00040000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__FLAT_SHADE_MASK              = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__FP16_INTERP_MODE_MASK        = 0x00080000L;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__OFFSET_MASK                  = 0x0000003fL;
constexpr unsigned int SPI_PS_INPUT_CNTL_31__USE_DEFAULT_ATTR1_MASK       = 0x00100000L;
constexpr unsigned int SPI_PS_INPUT_ENA__ANCILLARY_ENA_MASK               = 0x00002000L;
constexpr unsigned int SPI_PS_INPUT_ENA__FRONT_FACE_ENA_MASK              = 0x00001000L;
constexpr unsigned int SPI_PS_INPUT_ENA__LINEAR_CENTER_ENA_MASK           = 0x00000020L;
constexpr unsigned int SPI_PS_INPUT_ENA__LINEAR_CENTROID_ENA_MASK         = 0x00000040L;
constexpr unsigned int SPI_PS_INPUT_ENA__LINEAR_SAMPLE_ENA_MASK           = 0x00000010L;
constexpr unsigned int SPI_PS_INPUT_ENA__LINE_STIPPLE_TEX_ENA_MASK        = 0x00000080L;
constexpr unsigned int SPI_PS_INPUT_ENA__PERSP_CENTER_ENA_MASK            = 0x00000002L;
constexpr unsigned int SPI_PS_INPUT_ENA__PERSP_CENTROID_ENA_MASK          = 0x00000004L;
constexpr unsigned int SPI_PS_INPUT_ENA__PERSP_PULL_MODEL_ENA_MASK        = 0x00000008L;
constexpr unsigned int SPI_PS_INPUT_ENA__PERSP_SAMPLE_ENA_MASK            = 0x00000001L;
constexpr unsigned int SPI_PS_INPUT_ENA__POS_FIXED_PT_ENA_MASK            = 0x00008000L;
constexpr unsigned int SPI_PS_INPUT_ENA__POS_W_FLOAT_ENA_MASK             = 0x00000800L;
constexpr unsigned int SPI_PS_INPUT_ENA__POS_X_FLOAT_ENA_MASK             = 0x00000100L;
constexpr unsigned int SPI_PS_INPUT_ENA__POS_Y_FLOAT_ENA_MASK             = 0x00000200L;
constexpr unsigned int SPI_PS_INPUT_ENA__POS_Z_FLOAT_ENA_MASK             = 0x00000400L;
constexpr unsigned int SPI_PS_INPUT_ENA__SAMPLE_COVERAGE_ENA_MASK         = 0x00004000L;
constexpr unsigned int SPI_PS_IN_CONTROL__BC_OPTIMIZE_DISABLE_MASK        = 0x00004000L;
constexpr unsigned int SPI_PS_IN_CONTROL__LATE_PC_DEALLOC_MASK            = 0x00000100L;
constexpr unsigned int SPI_PS_IN_CONTROL__NUM_INTERP_MASK                 = 0x0000003fL;
constexpr unsigned int SPI_PS_IN_CONTROL__OFFCHIP_PARAM_EN_MASK           = 0x00000080L;
constexpr unsigned int SPI_PS_IN_CONTROL__PARAM_GEN_MASK                  = 0x00000040L;
constexpr unsigned int SPI_PS_MAX_WAVE_ID__MAX_COLLISION_WAVE_ID_MASK     = 0x03ff0000L;
constexpr unsigned int SPI_PS_MAX_WAVE_ID__MAX_WAVE_ID_MASK               = 0x00000fffL;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_0__BARRIERS_MASK           = 0x00078000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_0__LDS_MASK                = 0x00000f00L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_0__SGPR_MASK               = 0x000000f0L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_0__VGPR_MASK               = 0x0000000fL;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_0__WAVES_MASK              = 0x00007000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_1__BARRIERS_MASK           = 0x00078000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_1__LDS_MASK                = 0x00000f00L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_1__SGPR_MASK               = 0x000000f0L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_1__VGPR_MASK               = 0x0000000fL;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_1__WAVES_MASK              = 0x00007000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_2__BARRIERS_MASK           = 0x00078000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_2__LDS_MASK                = 0x00000f00L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_2__SGPR_MASK               = 0x000000f0L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_2__VGPR_MASK               = 0x0000000fL;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_2__WAVES_MASK              = 0x00007000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_3__BARRIERS_MASK           = 0x00078000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_3__LDS_MASK                = 0x00000f00L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_3__SGPR_MASK               = 0x000000f0L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_3__VGPR_MASK               = 0x0000000fL;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_3__WAVES_MASK              = 0x00007000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_4__BARRIERS_MASK           = 0x00078000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_4__LDS_MASK                = 0x00000f00L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_4__SGPR_MASK               = 0x000000f0L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_4__VGPR_MASK               = 0x0000000fL;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_4__WAVES_MASK              = 0x00007000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_5__BARRIERS_MASK           = 0x00078000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_5__LDS_MASK                = 0x00000f00L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_5__SGPR_MASK               = 0x000000f0L;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_5__VGPR_MASK               = 0x0000000fL;
constexpr unsigned int SPI_RESOURCE_RESERVE_CU_5__WAVES_MASK              = 0x00007000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_0__EN_MASK              = 0x00000001L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_0__QUEUE_MASK_MASK      = 0x00ff0000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_0__TYPE_MASK_MASK       = 0x0000fffeL;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_1__EN_MASK              = 0x00000001L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_1__QUEUE_MASK_MASK      = 0x00ff0000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_1__TYPE_MASK_MASK       = 0x0000fffeL;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_2__EN_MASK              = 0x00000001L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_2__QUEUE_MASK_MASK      = 0x00ff0000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_2__TYPE_MASK_MASK       = 0x0000fffeL;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_3__EN_MASK              = 0x00000001L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_3__QUEUE_MASK_MASK      = 0x00ff0000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_3__TYPE_MASK_MASK       = 0x0000fffeL;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_4__EN_MASK              = 0x00000001L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_4__QUEUE_MASK_MASK      = 0x00ff0000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_4__TYPE_MASK_MASK       = 0x0000fffeL;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_5__EN_MASK              = 0x00000001L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_5__QUEUE_MASK_MASK      = 0x00ff0000L;
constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_5__TYPE_MASK_MASK       = 0x0000fffeL;
constexpr unsigned int SPI_SHADER_COL_FORMAT__COL0_EXPORT_FORMAT_MASK     = 0x0000000fL;
constexpr unsigned int SPI_SHADER_COL_FORMAT__COL1_EXPORT_FORMAT_MASK     = 0x000000f0L;
constexpr unsigned int SPI_SHADER_COL_FORMAT__COL2_EXPORT_FORMAT_MASK     = 0x00000f00L;
constexpr unsigned int SPI_SHADER_COL_FORMAT__COL3_EXPORT_FORMAT_MASK     = 0x0000f000L;
constexpr unsigned int SPI_SHADER_COL_FORMAT__COL4_EXPORT_FORMAT_MASK     = 0x000f0000L;
constexpr unsigned int SPI_SHADER_COL_FORMAT__COL5_EXPORT_FORMAT_MASK     = 0x00f00000L;
constexpr unsigned int SPI_SHADER_COL_FORMAT__COL6_EXPORT_FORMAT_MASK     = 0x0f000000L;
constexpr unsigned int SPI_SHADER_COL_FORMAT__COL7_EXPORT_FORMAT_MASK     = 0xf0000000L;
constexpr unsigned int SPI_SHADER_PGM_HI_ES__MEM_BASE_MASK                = 0x000000ffL;
constexpr unsigned int SPI_SHADER_PGM_HI_LS__MEM_BASE_MASK                = 0x000000ffL;
constexpr unsigned int SPI_SHADER_PGM_HI_PS__MEM_BASE_MASK                = 0x000000ffL;
constexpr unsigned int SPI_SHADER_PGM_LO_ES__MEM_BASE_MASK                = 0xffffffffL;
constexpr unsigned int SPI_SHADER_PGM_LO_GS__MEM_BASE_MASK                = 0xffffffffL;
constexpr unsigned int SPI_SHADER_PGM_LO_HS__MEM_BASE_MASK                = 0xffffffffL;
constexpr unsigned int SPI_SHADER_PGM_LO_LS__MEM_BASE_MASK                = 0xffffffffL;
constexpr unsigned int SPI_SHADER_PGM_LO_PS__MEM_BASE_MASK                = 0xffffffffL;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__CDBG_USER_MASK            = 0x10000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__CU_GROUP_ENABLE_MASK      = 0x01000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__DEBUG_MODE_MASK           = 0x00400000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__DX10_CLAMP_MASK           = 0x00200000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__FLOAT_MODE_MASK           = 0x000ff000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__FP16_OVFL_MASK            = 0x80000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__GS_VGPR_COMP_CNT_MASK     = 0x60000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__IEEE_MODE_MASK            = 0x00800000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__PRIORITY_MASK             = 0x00000c00L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__PRIV_MASK                 = 0x00100000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__SGPRS_MASK                = 0x000003c0L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__VGPRS_MASK                = 0x0000003fL;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__CDBG_USER_MASK            = 0x08000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__DEBUG_MODE_MASK           = 0x00400000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__DX10_CLAMP_MASK           = 0x00200000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__FLOAT_MODE_MASK           = 0x000ff000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__FP16_OVFL_MASK            = 0x40000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__IEEE_MODE_MASK            = 0x00800000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__LS_VGPR_COMP_CNT_MASK     = 0x30000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__PRIORITY_MASK             = 0x00000c00L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__PRIV_MASK                 = 0x00100000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__SGPRS_MASK                = 0x000003c0L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__VGPRS_MASK                = 0x0000003fL;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__CDBG_USER_MASK            = 0x10000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__CU_GROUP_DISABLE_MASK     = 0x01000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__DEBUG_MODE_MASK           = 0x00400000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__DX10_CLAMP_MASK           = 0x00200000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__FLOAT_MODE_MASK           = 0x000ff000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__FP16_OVFL_MASK            = 0x20000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__IEEE_MODE_MASK            = 0x00800000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__PRIORITY_MASK             = 0x00000c00L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__PRIV_MASK                 = 0x00100000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__SGPRS_MASK                = 0x000003c0L;
constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__VGPRS_MASK                = 0x0000003fL;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__ES_VGPR_COMP_CNT_MASK     = 0x00030000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__EXCP_EN_MASK              = 0x0000ff80L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__LDS_SIZE_MASK             = 0x07f80000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__OC_LDS_EN_MASK            = 0x00040000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__SCRATCH_EN_MASK           = 0x00000001L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__TRAP_PRESENT_MASK         = 0x00000040L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__USER_SGPR_MASK            = 0x0000003eL;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__SCRATCH_EN_MASK           = 0x00000001L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__TRAP_PRESENT_MASK         = 0x00000040L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__USER_SGPR_MASK            = 0x0000003eL;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__EXCP_EN_MASK              = 0x01ff0000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__EXTRA_LDS_SIZE_MASK       = 0x0000ff00L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__LOAD_COLLISION_WAVEID_MASK = 0x02000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__LOAD_INTRAWAVE_COLLISION_MASK = 0x04000000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__SCRATCH_EN_MASK           = 0x00000001L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__TRAP_PRESENT_MASK         = 0x00000040L;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__USER_SGPR_MASK            = 0x0000003eL;
constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__WAVE_CNT_EN_MASK          = 0x00000080L;
constexpr unsigned int SPI_SHADER_PGM_RSRC3_GS__CU_EN_MASK                = 0x0000ffffL;
constexpr unsigned int SPI_SHADER_PGM_RSRC3_GS__LOCK_LOW_THRESHOLD_MASK   = 0x03c00000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC3_GS__WAVE_LIMIT_MASK           = 0x003f0000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC3_HS__CU_EN_MASK                = 0xffff0000L;
constexpr unsigned int SPI_SHADER_PGM_RSRC3_HS__LOCK_LOW_THRESHOLD_MASK   = 0x000003c0L;
constexpr unsigned int SPI_SHADER_PGM_RSRC3_HS__WAVE_LIMIT_MASK           = 0x0000003fL;
constexpr unsigned int SPI_SHADER_PGM_RSRC3_PS__CU_EN_MASK                = 0x0000ffffL;
constexpr unsigned int SPI_SHADER_PGM_RSRC3_PS__WAVE_LIMIT_MASK           = 0x003f0000L;
constexpr unsigned int SPI_SHADER_POS_FORMAT__POS0_EXPORT_FORMAT_MASK     = 0x0000000fL;
constexpr unsigned int SPI_SHADER_POS_FORMAT__POS1_EXPORT_FORMAT_MASK     = 0x000000f0L;
constexpr unsigned int SPI_SHADER_POS_FORMAT__POS2_EXPORT_FORMAT_MASK     = 0x00000f00L;
constexpr unsigned int SPI_SHADER_POS_FORMAT__POS3_EXPORT_FORMAT_MASK     = 0x0000f000L;
constexpr unsigned int SPI_SHADER_USER_DATA_ADDR_HI_GS__MEM_BASE_MASK     = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_ADDR_HI_HS__MEM_BASE_MASK     = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_ADDR_LO_GS__MEM_BASE_MASK     = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_ADDR_LO_HS__MEM_BASE_MASK     = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_0__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_1__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_2__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_3__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_4__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_5__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_6__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_7__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_8__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_9__DATA_MASK               = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_10__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_11__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_12__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_13__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_14__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_15__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_16__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_17__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_18__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_19__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_20__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_21__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_22__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_23__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_24__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_25__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_26__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_27__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_28__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_29__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_30__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_USER_DATA_PS_31__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SPI_SHADER_Z_FORMAT__Z_EXPORT_FORMAT_MASK          = 0x0000000fL;
constexpr unsigned int SPI_SX_EXPORT_BUFFER_SIZES__COLOR_BUFFER_SIZE_MASK = 0x0000ffffL;
constexpr unsigned int SPI_SX_EXPORT_BUFFER_SIZES__POSITION_BUFFER_SIZE_MASK = 0xffff0000L;
constexpr unsigned int SPI_SX_SCOREBOARD_BUFFER_SIZES__COLOR_SCOREBOARD_SIZE_MASK = 0x0000ffffL;
constexpr unsigned int SPI_SX_SCOREBOARD_BUFFER_SIZES__POSITION_SCOREBOARD_SIZE_MASK = 0xffff0000L;
constexpr unsigned int SPI_TMPRING_SIZE__WAVESIZE_MASK                    = 0x01fff000L;
constexpr unsigned int SPI_TMPRING_SIZE__WAVES_MASK                       = 0x00000fffL;
constexpr unsigned int SPI_VS_OUT_CONFIG__VS_EXPORT_COUNT_MASK            = 0x0000003eL;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS0__VALUE_MASK               = 0x0000007fL;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS1__VALUE_MASK               = 0x0000007fL;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS2__VALUE_MASK               = 0x0000007fL;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS3__VALUE_MASK               = 0x0000007fL;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_GFX__GS_GRP_VALUE_MASK        = 0x07c00000L;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_GFX__HS_GRP_VALUE_MASK        = 0x0001f000L;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_GFX__VALUE_MASK               = 0x0000007fL;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_HP3D__GS_GRP_VALUE_MASK       = 0x07c00000L;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_HP3D__HS_GRP_VALUE_MASK       = 0x0001f000L;
constexpr unsigned int SPI_WCL_PIPE_PERCENT_HP3D__VALUE_MASK              = 0x0000007fL;
constexpr unsigned int SPI_WF_LIFETIME_CNTL__EN_MASK                      = 0x00000010L;
constexpr unsigned int SPI_WF_LIFETIME_CNTL__SAMPLE_PERIOD_MASK           = 0x0000000fL;
constexpr unsigned int SPI_WF_LIFETIME_LIMIT_0__EN_WARN_MASK              = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_LIMIT_0__MAX_CNT_MASK              = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_LIMIT_2__EN_WARN_MASK              = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_LIMIT_2__MAX_CNT_MASK              = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_0__INT_SENT_MASK            = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_0__MAX_CNT_MASK             = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_2__INT_SENT_MASK            = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_2__MAX_CNT_MASK             = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_4__INT_SENT_MASK            = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_4__MAX_CNT_MASK             = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_6__INT_SENT_MASK            = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_6__MAX_CNT_MASK             = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_7__INT_SENT_MASK            = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_7__MAX_CNT_MASK             = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_9__INT_SENT_MASK            = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_9__MAX_CNT_MASK             = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_11__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_11__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_13__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_13__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_14__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_14__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_15__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_15__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_16__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_16__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_17__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_17__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_18__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_18__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_19__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_19__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_20__INT_SENT_MASK           = 0x80000000L;
constexpr unsigned int SPI_WF_LIFETIME_STATUS_20__MAX_CNT_MASK            = 0x7fffffffL;
constexpr unsigned int SQ_CMD__CHECK_VMID_MASK                            = 0x00000080L;
constexpr unsigned int SQ_CMD__DATA_MASK                                  = 0x00000f00L;
constexpr unsigned int SQ_CMD__MODE_MASK                                  = 0x00000070L;
constexpr unsigned int SQ_CMD__QUEUE_ID_MASK                              = 0x07000000L;
constexpr unsigned int SQ_CMD__VM_ID_MASK                                 = 0xf0000000L;
constexpr unsigned int SQ_DSM_CNTL2__LDS_D_ENABLE_ERROR_INJECT_MASK       = 0x00000018L;
constexpr unsigned int SQ_DSM_CNTL2__LDS_D_SELECT_INJECT_DELAY_MASK       = 0x00000020L;
constexpr unsigned int SQ_DSM_CNTL2__LDS_INJECT_DELAY_MASK                = 0x000fc000L;
constexpr unsigned int SQ_DSM_CNTL2__LDS_I_ENABLE_ERROR_INJECT_MASK       = 0x000000c0L;
constexpr unsigned int SQ_DSM_CNTL2__LDS_I_SELECT_INJECT_DELAY_MASK       = 0x00000100L;
constexpr unsigned int SQ_DSM_CNTL2__SGPR_ENABLE_ERROR_INJECT_MASK        = 0x00000003L;
constexpr unsigned int SQ_DSM_CNTL2__SGPR_SELECT_INJECT_DELAY_MASK        = 0x00000004L;
constexpr unsigned int SQ_DSM_CNTL2__SP_ENABLE_ERROR_INJECT_MASK          = 0x00000600L;
constexpr unsigned int SQ_DSM_CNTL2__SP_INJECT_DELAY_MASK                 = 0x03f00000L;
constexpr unsigned int SQ_DSM_CNTL2__SP_SELECT_INJECT_DELAY_MASK          = 0x00000800L;
constexpr unsigned int SQ_DSM_CNTL2__SQ_INJECT_DELAY_MASK                 = 0xfc000000L;
constexpr unsigned int SQ_DSM_CNTL__LDS_ENABLE_SINGLE_WRITE01_MASK        = 0x00040000L;
constexpr unsigned int SQ_DSM_CNTL__LDS_ENABLE_SINGLE_WRITE23_MASK        = 0x00200000L;
constexpr unsigned int SQ_DSM_CNTL__SEL_DSM_LDS_IRRITATOR_DATA0_MASK      = 0x00010000L;
constexpr unsigned int SQ_DSM_CNTL__SEL_DSM_LDS_IRRITATOR_DATA1_MASK      = 0x00020000L;
constexpr unsigned int SQ_DSM_CNTL__SEL_DSM_LDS_IRRITATOR_DATA2_MASK      = 0x00080000L;
constexpr unsigned int SQ_DSM_CNTL__SEL_DSM_LDS_IRRITATOR_DATA3_MASK      = 0x00100000L;
constexpr unsigned int SQ_DSM_CNTL__SEL_DSM_SGPR_IRRITATOR_DATA0_MASK     = 0x00000100L;
constexpr unsigned int SQ_DSM_CNTL__SEL_DSM_SGPR_IRRITATOR_DATA1_MASK     = 0x00000200L;
constexpr unsigned int SQ_DSM_CNTL__SEL_DSM_SP_IRRITATOR_DATA0_MASK       = 0x01000000L;
constexpr unsigned int SQ_DSM_CNTL__SEL_DSM_SP_IRRITATOR_DATA1_MASK       = 0x02000000L;
constexpr unsigned int SQ_DSM_CNTL__SGPR_ENABLE_SINGLE_WRITE_MASK         = 0x00000400L;
constexpr unsigned int SQ_DSM_CNTL__SPI_BACKPRESSURE_0_MASK               = 0x00000004L;
constexpr unsigned int SQ_DSM_CNTL__SPI_BACKPRESSURE_1_MASK               = 0x00000008L;
constexpr unsigned int SQ_DSM_CNTL__SP_ENABLE_SINGLE_WRITE_MASK           = 0x04000000L;
constexpr unsigned int SQ_DSM_CNTL__WAVEFRONT_STALL_0_MASK                = 0x00000001L;
constexpr unsigned int SQ_DSM_CNTL__WAVEFRONT_STALL_1_MASK                = 0x00000002L;
constexpr unsigned int SQ_FIFO_SIZES__INTERRUPT_FIFO_SIZE_MASK            = 0x0000000fL;
constexpr unsigned int SQ_FIFO_SIZES__VMEM_DATA_FIFO_SIZE_MASK            = 0x000c0000L;
constexpr unsigned int SQ_IND_DATA__DATA_MASK                             = 0xffffffffL;
constexpr unsigned int SQ_IND_INDEX__INDEX_MASK                           = 0xffff0000L;
constexpr unsigned int SQ_INTERRUPT_AUTO_MASK__MASK_MASK                  = 0x00ffffffL;
constexpr unsigned int SQ_INTERRUPT_MSG_CTRL__STALL_MASK                  = 0x00000001L;
constexpr unsigned int SQ_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SQ_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER0_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SQ_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER1_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SQ_PERFCOUNTER2_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER2_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER2_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SQ_PERFCOUNTER3_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER3_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER3_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER4_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SQ_PERFCOUNTER4_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER4_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER4_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER5_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SQ_PERFCOUNTER5_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER5_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER5_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER6_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SQ_PERFCOUNTER6_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER6_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER6_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER7_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SQ_PERFCOUNTER7_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER7_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER7_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER8_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER8_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER8_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER9_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER9_SELECT__PERF_SEL_MASK              = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER9_SELECT__SPM_MODE_MASK              = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER10_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER10_SELECT__PERF_SEL_MASK             = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER10_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER11_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER11_SELECT__PERF_SEL_MASK             = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER11_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER12_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER12_SELECT__PERF_SEL_MASK             = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER12_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER13_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER13_SELECT__PERF_SEL_MASK             = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER13_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER14_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER14_SELECT__PERF_SEL_MASK             = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER14_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER15_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int SQ_PERFCOUNTER15_SELECT__PERF_SEL_MASK             = 0x000001ffL;
constexpr unsigned int SQ_PERFCOUNTER15_SELECT__SPM_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SQ_PERFCOUNTER_CTRL2__FORCE_EN_MASK                = 0x00000001L;
constexpr unsigned int SQ_PERFCOUNTER_CTRL__CS_EN_MASK                    = 0x00000040L;
constexpr unsigned int SQ_PERFCOUNTER_CTRL__GS_EN_MASK                    = 0x00000004L;
constexpr unsigned int SQ_PERFCOUNTER_CTRL__HS_EN_MASK                    = 0x00000010L;
constexpr unsigned int SQ_PERFCOUNTER_CTRL__PS_EN_MASK                    = 0x00000001L;
constexpr unsigned int SQ_RANDOM_WAVE_PRI__RET_MASK                       = 0x0000007fL;
constexpr unsigned int SQ_RANDOM_WAVE_PRI__RUI_MASK                       = 0x00000380L;
constexpr unsigned int SQ_SHADER_TBA_HI__ADDR_HI_MASK                     = 0x000000ffL;
constexpr unsigned int SQ_SHADER_TBA_LO__ADDR_LO_MASK                     = 0xffffffffL;
constexpr unsigned int SQ_SHADER_TMA_HI__ADDR_HI_MASK                     = 0x000000ffL;
constexpr unsigned int SQ_SHADER_TMA_LO__ADDR_LO_MASK                     = 0xffffffffL;
constexpr unsigned int SQ_THREAD_TRACE_USERDATA_0__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SQ_THREAD_TRACE_USERDATA_1__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SQ_THREAD_TRACE_USERDATA_2__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SQ_THREAD_TRACE_USERDATA_3__DATA_MASK              = 0xffffffffL;
constexpr unsigned int SQ_WAVE_EXEC_HI__EXEC_HI_MASK                      = 0xffffffffL;
constexpr unsigned int SQ_WAVE_EXEC_LO__EXEC_LO_MASK                      = 0xffffffffL;
constexpr unsigned int SQ_WAVE_FLUSH_IB__UNUSED_MASK                      = 0xffffffffL;
constexpr unsigned int SQ_WAVE_LDS_ALLOC__LDS_SIZE_MASK                   = 0x001ff000L;
constexpr unsigned int SQ_WAVE_M0__M0_MASK                                = 0xffffffffL;
constexpr unsigned int SQ_WAVE_MODE__DX10_CLAMP_MASK                      = 0x00000100L;
constexpr unsigned int SQ_WAVE_MODE__EXCP_EN_MASK                         = 0x001ff000L;
constexpr unsigned int SQ_WAVE_MODE__FP16_OVFL_MASK                       = 0x00800000L;
constexpr unsigned int SQ_WAVE_MODE__FP_DENORM_MASK                       = 0x000000f0L;
constexpr unsigned int SQ_WAVE_MODE__FP_ROUND_MASK                        = 0x0000000fL;
constexpr unsigned int SQ_WAVE_MODE__IEEE_MASK                            = 0x00000200L;
constexpr unsigned int SQ_WAVE_MODE__LOD_CLAMPED_MASK                     = 0x00000400L;
constexpr unsigned int SQ_WAVE_PC_HI__PC_HI_MASK                          = 0x0000ffffL;
constexpr unsigned int SQ_WAVE_PC_LO__PC_LO_MASK                          = 0xffffffffL;
constexpr unsigned int SQ_WAVE_STATUS__COND_DBG_SYS_MASK                  = 0x00200000L;
constexpr unsigned int SQ_WAVE_STATUS__COND_DBG_USER_MASK                 = 0x00100000L;
constexpr unsigned int SQ_WAVE_STATUS__ECC_ERR_MASK                       = 0x00020000L;
constexpr unsigned int SQ_WAVE_STATUS__EXECZ_MASK                         = 0x00000200L;
constexpr unsigned int SQ_WAVE_STATUS__EXPORT_RDY_MASK                    = 0x00000100L;
constexpr unsigned int SQ_WAVE_STATUS__FATAL_HALT_MASK                    = 0x00800000L;
constexpr unsigned int SQ_WAVE_STATUS__HALT_MASK                          = 0x00002000L;
constexpr unsigned int SQ_WAVE_STATUS__IN_BARRIER_MASK                    = 0x00001000L;
constexpr unsigned int SQ_WAVE_STATUS__IN_TG_MASK                         = 0x00000800L;
constexpr unsigned int SQ_WAVE_STATUS__MUST_EXPORT_MASK                   = 0x08000000L;
constexpr unsigned int SQ_WAVE_STATUS__PERF_EN_MASK                       = 0x00080000L;
constexpr unsigned int SQ_WAVE_STATUS__PRIV_MASK                          = 0x00000020L;
constexpr unsigned int SQ_WAVE_STATUS__SCC_MASK                           = 0x00000001L;
constexpr unsigned int SQ_WAVE_STATUS__SKIP_EXPORT_MASK                   = 0x00040000L;
constexpr unsigned int SQ_WAVE_STATUS__SPI_PRIO_MASK                      = 0x00000006L;
constexpr unsigned int SQ_WAVE_STATUS__TRAP_EN_MASK                       = 0x00000040L;
constexpr unsigned int SQ_WAVE_STATUS__TRAP_MASK                          = 0x00004000L;
constexpr unsigned int SQ_WAVE_STATUS__TTRACE_EN_MASK                     = 0x00000080L;
constexpr unsigned int SQ_WAVE_STATUS__USER_PRIO_MASK                     = 0x00000018L;
constexpr unsigned int SQ_WAVE_STATUS__VALID_MASK                         = 0x00010000L;
constexpr unsigned int SQ_WAVE_STATUS__VCCZ_MASK                          = 0x00000400L;
constexpr unsigned int SQ_WAVE_TRAPSTS__EXCP_HI_MASK                      = 0x00007000L;
constexpr unsigned int SQ_WAVE_TRAPSTS__EXCP_MASK                         = 0x000001ffL;
constexpr unsigned int SQ_WAVE_TRAPSTS__ILLEGAL_INST_MASK                 = 0x00000800L;
constexpr unsigned int SQ_WAVE_TRAPSTS__SAVECTX_MASK                      = 0x00000400L;
constexpr unsigned int SQ_WAVE_TTMP0__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP1__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP2__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP3__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP4__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP5__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP6__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP7__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP8__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP9__DATA_MASK                           = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP10__DATA_MASK                          = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP11__DATA_MASK                          = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP12__DATA_MASK                          = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP13__DATA_MASK                          = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP14__DATA_MASK                          = 0xffffffffL;
constexpr unsigned int SQ_WAVE_TTMP15__DATA_MASK                          = 0xffffffffL;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT0_ALPHA_OPT_DISABLE_MASK  = 0x00000002L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT0_COLOR_OPT_DISABLE_MASK  = 0x00000001L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT1_ALPHA_OPT_DISABLE_MASK  = 0x00000020L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT1_COLOR_OPT_DISABLE_MASK  = 0x00000010L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT2_ALPHA_OPT_DISABLE_MASK  = 0x00000200L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT2_COLOR_OPT_DISABLE_MASK  = 0x00000100L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT3_ALPHA_OPT_DISABLE_MASK  = 0x00002000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT3_COLOR_OPT_DISABLE_MASK  = 0x00001000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT4_ALPHA_OPT_DISABLE_MASK  = 0x00020000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT4_COLOR_OPT_DISABLE_MASK  = 0x00010000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT5_ALPHA_OPT_DISABLE_MASK  = 0x00200000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT5_COLOR_OPT_DISABLE_MASK  = 0x00100000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT6_ALPHA_OPT_DISABLE_MASK  = 0x02000000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT6_COLOR_OPT_DISABLE_MASK  = 0x01000000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT7_ALPHA_OPT_DISABLE_MASK  = 0x20000000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__MRT7_COLOR_OPT_DISABLE_MASK  = 0x10000000L;
constexpr unsigned int SX_BLEND_OPT_CONTROL__PIXEN_ZERO_OPT_DISABLE_MASK  = 0x80000000L;
constexpr unsigned int SX_BLEND_OPT_EPSILON__MRT0_EPSILON_MASK            = 0x0000000fL;
constexpr unsigned int SX_BLEND_OPT_EPSILON__MRT1_EPSILON_MASK            = 0x000000f0L;
constexpr unsigned int SX_BLEND_OPT_EPSILON__MRT2_EPSILON_MASK            = 0x00000f00L;
constexpr unsigned int SX_BLEND_OPT_EPSILON__MRT3_EPSILON_MASK            = 0x0000f000L;
constexpr unsigned int SX_BLEND_OPT_EPSILON__MRT4_EPSILON_MASK            = 0x000f0000L;
constexpr unsigned int SX_BLEND_OPT_EPSILON__MRT5_EPSILON_MASK            = 0x00f00000L;
constexpr unsigned int SX_BLEND_OPT_EPSILON__MRT6_EPSILON_MASK            = 0x0f000000L;
constexpr unsigned int SX_BLEND_OPT_EPSILON__MRT7_EPSILON_MASK            = 0xf0000000L;
constexpr unsigned int SX_MRT0_BLEND_OPT__ALPHA_COMB_FCN_MASK             = 0x07000000L;
constexpr unsigned int SX_MRT0_BLEND_OPT__ALPHA_DST_OPT_MASK              = 0x00700000L;
constexpr unsigned int SX_MRT0_BLEND_OPT__ALPHA_SRC_OPT_MASK              = 0x00070000L;
constexpr unsigned int SX_MRT0_BLEND_OPT__COLOR_COMB_FCN_MASK             = 0x00000700L;
constexpr unsigned int SX_MRT0_BLEND_OPT__COLOR_DST_OPT_MASK              = 0x00000070L;
constexpr unsigned int SX_MRT0_BLEND_OPT__COLOR_SRC_OPT_MASK              = 0x00000007L;
constexpr unsigned int SX_MRT1_BLEND_OPT__ALPHA_COMB_FCN_MASK             = 0x07000000L;
constexpr unsigned int SX_MRT1_BLEND_OPT__ALPHA_DST_OPT_MASK              = 0x00700000L;
constexpr unsigned int SX_MRT1_BLEND_OPT__ALPHA_SRC_OPT_MASK              = 0x00070000L;
constexpr unsigned int SX_MRT1_BLEND_OPT__COLOR_COMB_FCN_MASK             = 0x00000700L;
constexpr unsigned int SX_MRT1_BLEND_OPT__COLOR_DST_OPT_MASK              = 0x00000070L;
constexpr unsigned int SX_MRT1_BLEND_OPT__COLOR_SRC_OPT_MASK              = 0x00000007L;
constexpr unsigned int SX_MRT2_BLEND_OPT__ALPHA_COMB_FCN_MASK             = 0x07000000L;
constexpr unsigned int SX_MRT2_BLEND_OPT__ALPHA_DST_OPT_MASK              = 0x00700000L;
constexpr unsigned int SX_MRT2_BLEND_OPT__ALPHA_SRC_OPT_MASK              = 0x00070000L;
constexpr unsigned int SX_MRT2_BLEND_OPT__COLOR_COMB_FCN_MASK             = 0x00000700L;
constexpr unsigned int SX_MRT2_BLEND_OPT__COLOR_DST_OPT_MASK              = 0x00000070L;
constexpr unsigned int SX_MRT2_BLEND_OPT__COLOR_SRC_OPT_MASK              = 0x00000007L;
constexpr unsigned int SX_MRT3_BLEND_OPT__ALPHA_COMB_FCN_MASK             = 0x07000000L;
constexpr unsigned int SX_MRT3_BLEND_OPT__ALPHA_DST_OPT_MASK              = 0x00700000L;
constexpr unsigned int SX_MRT3_BLEND_OPT__ALPHA_SRC_OPT_MASK              = 0x00070000L;
constexpr unsigned int SX_MRT3_BLEND_OPT__COLOR_COMB_FCN_MASK             = 0x00000700L;
constexpr unsigned int SX_MRT3_BLEND_OPT__COLOR_DST_OPT_MASK              = 0x00000070L;
constexpr unsigned int SX_MRT3_BLEND_OPT__COLOR_SRC_OPT_MASK              = 0x00000007L;
constexpr unsigned int SX_MRT4_BLEND_OPT__ALPHA_COMB_FCN_MASK             = 0x07000000L;
constexpr unsigned int SX_MRT4_BLEND_OPT__ALPHA_DST_OPT_MASK              = 0x00700000L;
constexpr unsigned int SX_MRT4_BLEND_OPT__ALPHA_SRC_OPT_MASK              = 0x00070000L;
constexpr unsigned int SX_MRT4_BLEND_OPT__COLOR_COMB_FCN_MASK             = 0x00000700L;
constexpr unsigned int SX_MRT4_BLEND_OPT__COLOR_DST_OPT_MASK              = 0x00000070L;
constexpr unsigned int SX_MRT4_BLEND_OPT__COLOR_SRC_OPT_MASK              = 0x00000007L;
constexpr unsigned int SX_MRT5_BLEND_OPT__ALPHA_COMB_FCN_MASK             = 0x07000000L;
constexpr unsigned int SX_MRT5_BLEND_OPT__ALPHA_DST_OPT_MASK              = 0x00700000L;
constexpr unsigned int SX_MRT5_BLEND_OPT__ALPHA_SRC_OPT_MASK              = 0x00070000L;
constexpr unsigned int SX_MRT5_BLEND_OPT__COLOR_COMB_FCN_MASK             = 0x00000700L;
constexpr unsigned int SX_MRT5_BLEND_OPT__COLOR_DST_OPT_MASK              = 0x00000070L;
constexpr unsigned int SX_MRT5_BLEND_OPT__COLOR_SRC_OPT_MASK              = 0x00000007L;
constexpr unsigned int SX_MRT6_BLEND_OPT__ALPHA_COMB_FCN_MASK             = 0x07000000L;
constexpr unsigned int SX_MRT6_BLEND_OPT__ALPHA_DST_OPT_MASK              = 0x00700000L;
constexpr unsigned int SX_MRT6_BLEND_OPT__ALPHA_SRC_OPT_MASK              = 0x00070000L;
constexpr unsigned int SX_MRT6_BLEND_OPT__COLOR_COMB_FCN_MASK             = 0x00000700L;
constexpr unsigned int SX_MRT6_BLEND_OPT__COLOR_DST_OPT_MASK              = 0x00000070L;
constexpr unsigned int SX_MRT6_BLEND_OPT__COLOR_SRC_OPT_MASK              = 0x00000007L;
constexpr unsigned int SX_MRT7_BLEND_OPT__ALPHA_COMB_FCN_MASK             = 0x07000000L;
constexpr unsigned int SX_MRT7_BLEND_OPT__ALPHA_DST_OPT_MASK              = 0x00700000L;
constexpr unsigned int SX_MRT7_BLEND_OPT__ALPHA_SRC_OPT_MASK              = 0x00070000L;
constexpr unsigned int SX_MRT7_BLEND_OPT__COLOR_COMB_FCN_MASK             = 0x00000700L;
constexpr unsigned int SX_MRT7_BLEND_OPT__COLOR_DST_OPT_MASK              = 0x00000070L;
constexpr unsigned int SX_MRT7_BLEND_OPT__COLOR_SRC_OPT_MASK              = 0x00000007L;
constexpr unsigned int SX_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int SX_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SX_PERFCOUNTER0_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SX_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int SX_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SX_PERFCOUNTER1_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SX_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int SX_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SX_PERFCOUNTER2_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SX_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int SX_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int SX_PERFCOUNTER3_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int SX_PS_DOWNCONVERT__MRT0_MASK                       = 0x0000000fL;
constexpr unsigned int SX_PS_DOWNCONVERT__MRT1_MASK                       = 0x000000f0L;
constexpr unsigned int SX_PS_DOWNCONVERT__MRT2_MASK                       = 0x00000f00L;
constexpr unsigned int SX_PS_DOWNCONVERT__MRT3_MASK                       = 0x0000f000L;
constexpr unsigned int SX_PS_DOWNCONVERT__MRT4_MASK                       = 0x000f0000L;
constexpr unsigned int SX_PS_DOWNCONVERT__MRT5_MASK                       = 0x00f00000L;
constexpr unsigned int SX_PS_DOWNCONVERT__MRT6_MASK                       = 0x0f000000L;
constexpr unsigned int SX_PS_DOWNCONVERT__MRT7_MASK                       = 0xf0000000L;
constexpr unsigned int TA_BC_BASE_ADDR_HI__ADDRESS_MASK                   = 0x000000ffL;
constexpr unsigned int TA_BC_BASE_ADDR__ADDRESS_MASK                      = 0xffffffffL;
constexpr unsigned int TA_CNTL_AUX__ANISO_ERROR_FP_VBIAS_MASK             = 0x00001000L;
constexpr unsigned int TA_CNTL_AUX__ANISO_HALF_THRESH_MASK                = 0x00000c00L;
constexpr unsigned int TA_CNTL_AUX__ANISO_RATIO_LUT_MASK                  = 0x00020000L;
constexpr unsigned int TA_CNTL_AUX__ANISO_STEP_MASK                       = 0x00004000L;
constexpr unsigned int TA_CNTL_AUX__ANISO_STEP_ORDER_MASK                 = 0x00002000L;
constexpr unsigned int TA_CNTL_AUX__ANISO_TAP_MASK                        = 0x00040000L;
constexpr unsigned int TA_CNTL_AUX__ANISO_WEIGHT_MODE_MASK                = 0x00010000L;
constexpr unsigned int TA_CNTL_AUX__ARRAY_ROUND_MODE_MASK                 = 0xc0000000L;
constexpr unsigned int TA_CNTL_AUX__CUBEMAP_SLICE_CLAMP_MASK              = 0x10000000L;
constexpr unsigned int TA_CNTL_AUX__DETERMINISM_DFMT_NFMT_DISABLE_MASK    = 0x04000000L;
constexpr unsigned int TA_CNTL_AUX__DETERMINISM_MISC_DISABLE_MASK         = 0x00400000L;
constexpr unsigned int TA_CNTL_AUX__DETERMINISM_OPCODE_STRICT_DISABLE_MASK = 0x00200000L;
constexpr unsigned int TA_CNTL_AUX__DETERMINISM_RESERVED_DISABLE_MASK     = 0x00100000L;
constexpr unsigned int TA_CNTL_AUX__DETERMINISM_SAMPLER_MSAA_DISABLE_MASK = 0x01000000L;
constexpr unsigned int TA_CNTL_AUX__DETERMINISM_SAMPLE_C_DFMT_DISABLE_MASK = 0x00800000L;
constexpr unsigned int TA_CNTL_AUX__DETERMINISM_WRITEOP_READFMT_DISABLE_MASK = 0x02000000L;
constexpr unsigned int TA_CNTL_AUX__DISABLE_GATHER4_BC_SWIZZLE_MASK       = 0x00000080L;
constexpr unsigned int TA_CNTL_AUX__MINMAG_UNNORM_MASK                    = 0x00008000L;
constexpr unsigned int TA_CNTL_AUX__SCOAL_DSWIZZLE_N_MASK                 = 0x00000001L;
constexpr unsigned int TA_CNTL_AUX__TFAULT_EN_OVERRIDE_MASK               = 0x00000020L;
constexpr unsigned int TA_CNTL_AUX__TRUNC_SMALL_NEG_MASK                  = 0x20000000L;
constexpr unsigned int TA_CNTL__ALIGNER_CREDIT_MASK                       = 0x001f0000L;
constexpr unsigned int TA_CS_BC_BASE_ADDR_HI__ADDRESS_MASK                = 0x000000ffL;
constexpr unsigned int TA_CS_BC_BASE_ADDR__ADDRESS_MASK                   = 0xffffffffL;
constexpr unsigned int TA_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int TA_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int TA_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
constexpr unsigned int TA_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
constexpr unsigned int TA_PERFCOUNTER0_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int TA_PERFCOUNTER0_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
constexpr unsigned int TA_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int TA_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int TA_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int TA_PERFCOUNTER1_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int TA_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int TA_SCRATCH__SCRATCH_MASK                           = 0xffffffffL;
constexpr unsigned int TA_STATUS__AL_BUSY_MASK                            = 0x40000000L;
constexpr unsigned int TA_STATUS__BUSY_MASK                               = 0x80000000L;
constexpr unsigned int TA_STATUS__FA_BUSY_MASK                            = 0x20000000L;
constexpr unsigned int TA_STATUS__FA_LFIFO_EMPTYB_MASK                    = 0x00200000L;
constexpr unsigned int TA_STATUS__FA_PFIFO_EMPTYB_MASK                    = 0x00100000L;
constexpr unsigned int TA_STATUS__FA_SFIFO_EMPTYB_MASK                    = 0x00400000L;
constexpr unsigned int TA_STATUS__FG_BUSY_MASK                            = 0x02000000L;
constexpr unsigned int TA_STATUS__FG_LFIFO_EMPTYB_MASK                    = 0x00002000L;
constexpr unsigned int TA_STATUS__FG_PFIFO_EMPTYB_MASK                    = 0x00001000L;
constexpr unsigned int TA_STATUS__FG_SFIFO_EMPTYB_MASK                    = 0x00004000L;
constexpr unsigned int TA_STATUS__FL_BUSY_MASK                            = 0x08000000L;
constexpr unsigned int TA_STATUS__FL_LFIFO_EMPTYB_MASK                    = 0x00020000L;
constexpr unsigned int TA_STATUS__FL_PFIFO_EMPTYB_MASK                    = 0x00010000L;
constexpr unsigned int TA_STATUS__FL_SFIFO_EMPTYB_MASK                    = 0x00040000L;
constexpr unsigned int TA_STATUS__IN_BUSY_MASK                            = 0x01000000L;
constexpr unsigned int TA_STATUS__LA_BUSY_MASK                            = 0x04000000L;
constexpr unsigned int TA_STATUS__TA_BUSY_MASK                            = 0x10000000L;
constexpr unsigned int TCP_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int TCP_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
constexpr unsigned int TCP_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
constexpr unsigned int TCP_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int TCP_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
constexpr unsigned int TCP_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
constexpr unsigned int TCP_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int TCP_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int TCP_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int TCP_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int TCP_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
constexpr unsigned int TCP_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
constexpr unsigned int TCP_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
constexpr unsigned int TCP_PERFCOUNTER3_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
constexpr unsigned int TCP_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
constexpr unsigned int TCP_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000003ffL;
constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__BUFFER_MASK             = 0x00000001L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__DATA_FORMAT_MASK        = 0x00000008L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__DIM_MASK                = 0x00000004L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__FLAT_MASK               = 0x00000002L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__NUM_FORMAT_MASK         = 0x00000010L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__NUM_SAMPLES_MASK        = 0x00000040L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__OPCODE_TYPE_MASK        = 0x00000080L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__SW_MODE_MASK            = 0x00000020L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER__BUFFER_MASK                = 0x00000001L;
constexpr unsigned int TCP_PERFCOUNTER_FILTER__DIM_MASK                   = 0x0000001cL;
constexpr unsigned int TCP_PERFCOUNTER_FILTER__FLAT_MASK                  = 0x00000002L;
constexpr unsigned int TD_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int TD_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int TD_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
constexpr unsigned int TD_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
constexpr unsigned int TD_PERFCOUNTER0_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int TD_PERFCOUNTER0_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
constexpr unsigned int TD_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int TD_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
constexpr unsigned int TD_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
constexpr unsigned int TD_PERFCOUNTER1_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
constexpr unsigned int TD_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
constexpr unsigned int VGT_DMA_BASE_HI__BASE_ADDR_MASK                    = 0x0000ffffL;
constexpr unsigned int VGT_DMA_BASE__BASE_ADDR_MASK                       = 0xffffffffL;
constexpr unsigned int VGT_DMA_INDEX_TYPE__BUF_TYPE_MASK                  = 0x00000030L;
constexpr unsigned int VGT_DMA_INDEX_TYPE__INDEX_TYPE_MASK                = 0x00000003L;
constexpr unsigned int VGT_DMA_INDEX_TYPE__NOT_EOP_MASK                   = 0x00000200L;
constexpr unsigned int VGT_DMA_INDEX_TYPE__REQ_PATH_MASK                  = 0x00000400L;
constexpr unsigned int VGT_DMA_INDEX_TYPE__SWAP_MODE_MASK                 = 0x0000000cL;
constexpr unsigned int VGT_DMA_MAX_SIZE__MAX_SIZE_MASK                    = 0xffffffffL;
constexpr unsigned int VGT_DMA_NUM_INSTANCES__NUM_INSTANCES_MASK          = 0xffffffffL;
constexpr unsigned int VGT_DMA_REQ_FIFO_DEPTH__DMA_REQ_FIFO_DEPTH_MASK    = 0x0000003fL;
constexpr unsigned int VGT_DMA_SIZE__NUM_INDICES_MASK                     = 0xffffffffL;
constexpr unsigned int VGT_DRAW_INITIATOR__MAJOR_MODE_MASK                = 0x0000000cL;
constexpr unsigned int VGT_DRAW_INITIATOR__NOT_EOP_MASK                   = 0x00000020L;
constexpr unsigned int VGT_DRAW_INITIATOR__REG_RT_INDEX_MASK              = 0xe0000000L;
constexpr unsigned int VGT_DRAW_INITIATOR__SOURCE_SELECT_MASK             = 0x00000003L;
constexpr unsigned int VGT_DRAW_INITIATOR__SPRITE_EN_R6XX_MASK            = 0x00000010L;
constexpr unsigned int VGT_DRAW_INITIATOR__USE_OPAQUE_MASK                = 0x00000040L;
constexpr unsigned int VGT_DRAW_INIT_FIFO_DEPTH__DRAW_INIT_FIFO_DEPTH_MASK = 0x0000003fL;
constexpr unsigned int VGT_DRAW_PAYLOAD_CNTL__EN_REG_RT_INDEX_MASK        = 0x00000002L;
constexpr unsigned int VGT_ENHANCE__MISC_MASK                             = 0xffffffffL;
constexpr unsigned int VGT_ESGS_RING_ITEMSIZE__ITEMSIZE_MASK              = 0x00007fffL;
constexpr unsigned int VGT_EVENT_ADDRESS_REG__ADDRESS_LOW_MASK            = 0x0fffffffL;
constexpr unsigned int VGT_EVENT_INITIATOR__ADDRESS_HI_MASK               = 0x07fffc00L;
constexpr unsigned int VGT_EVENT_INITIATOR__EVENT_TYPE_MASK               = 0x0000003fL;
constexpr unsigned int VGT_EVENT_INITIATOR__EXTENDED_EVENT_MASK           = 0x08000000L;
constexpr unsigned int VGT_GS_INSTANCE_CNT__CNT_MASK                      = 0x000001fcL;
constexpr unsigned int VGT_GS_INSTANCE_CNT__ENABLE_MASK                   = 0x00000001L;
constexpr unsigned int VGT_GS_MAX_VERT_OUT__MAX_VERT_OUT_MASK             = 0x000007ffL;
constexpr unsigned int VGT_GS_MAX_WAVE_ID__MAX_WAVE_ID_MASK               = 0x00000fffL;
constexpr unsigned int VGT_GS_OUT_PRIM_TYPE__OUTPRIM_TYPE_MASK            = 0x0000003fL;
constexpr unsigned int VGT_HOS_MAX_TESS_LEVEL__MAX_TESS_MASK              = 0xffffffffL;
constexpr unsigned int VGT_HOS_MIN_TESS_LEVEL__MIN_TESS_MASK              = 0xffffffffL;
constexpr unsigned int VGT_INDEX_TYPE__INDEX_TYPE_MASK                    = 0x00000003L;
constexpr unsigned int VGT_INSTANCE_BASE_ID__INSTANCE_BASE_ID_MASK        = 0xffffffffL;
constexpr unsigned int VGT_LS_HS_CONFIG__HS_NUM_INPUT_CP_MASK             = 0x00003f00L;
constexpr unsigned int VGT_LS_HS_CONFIG__HS_NUM_OUTPUT_CP_MASK            = 0x000fc000L;
constexpr unsigned int VGT_LS_HS_CONFIG__NUM_PATCHES_MASK                 = 0x000000ffL;
constexpr unsigned int VGT_MC_LAT_CNTL__MC_TIME_STAMP_RES_MASK            = 0x0000000fL;
constexpr unsigned int VGT_MULTI_PRIM_IB_RESET_INDX__RESET_INDX_MASK      = 0xffffffffL;
constexpr unsigned int VGT_NUM_INDICES__NUM_INDICES_MASK                  = 0xffffffffL;
constexpr unsigned int VGT_NUM_INSTANCES__NUM_INSTANCES_MASK              = 0xffffffffL;
constexpr unsigned int VGT_PRIMITIVEID_EN__DISABLE_RESET_ON_EOI_MASK      = 0x00000002L;
constexpr unsigned int VGT_PRIMITIVEID_EN__NGG_DISABLE_PROVOK_REUSE_MASK  = 0x00000004L;
constexpr unsigned int VGT_PRIMITIVEID_EN__PRIMITIVEID_EN_MASK            = 0x00000001L;
constexpr unsigned int VGT_PRIMITIVEID_RESET__VALUE_MASK                  = 0xffffffffL;
constexpr unsigned int VGT_PRIMITIVE_TYPE__PRIM_TYPE_MASK                 = 0x0000003fL;
constexpr unsigned int VGT_REUSE_OFF__REUSE_OFF_MASK                      = 0x00000001L;
constexpr unsigned int VGT_SHADER_STAGES_EN__ES_EN_MASK                   = 0x00000018L;
constexpr unsigned int VGT_SHADER_STAGES_EN__GS_EN_MASK                   = 0x00000020L;
constexpr unsigned int VGT_SHADER_STAGES_EN__HS_EN_MASK                   = 0x00000004L;
constexpr unsigned int VGT_SHADER_STAGES_EN__LS_EN_MASK                   = 0x00000003L;
constexpr unsigned int VGT_SHADER_STAGES_EN__MAX_PRIMGRP_IN_WAVE_MASK     = 0x00078000L;
constexpr unsigned int VGT_SHADER_STAGES_EN__ORDERED_ID_MODE_MASK         = 0x00004000L;
constexpr unsigned int VGT_SHADER_STAGES_EN__PRIMGEN_EN_MASK              = 0x00002000L;
constexpr unsigned int VGT_SHADER_STAGES_EN__VS_EN_MASK                   = 0x000000c0L;
constexpr unsigned int VGT_SHADER_STAGES_EN__VS_WAVE_ID_EN_MASK           = 0x00001000L;
constexpr unsigned int VGT_STRMOUT_DRAW_OPAQUE_BUFFER_FILLED_SIZE__SIZE_MASK = 0xffffffffL;
constexpr unsigned int VGT_STRMOUT_DRAW_OPAQUE_OFFSET__OFFSET_MASK        = 0xffffffffL;
constexpr unsigned int VGT_STRMOUT_DRAW_OPAQUE_VERTEX_STRIDE__VERTEX_STRIDE_MASK = 0x000001ffL;
constexpr unsigned int VGT_SYS_CONFIG__ADC_EVENT_FILTER_DISABLE_MASK      = 0x00000080L;
constexpr unsigned int VGT_SYS_CONFIG__DUAL_CORE_EN_MASK                  = 0x00000001L;
constexpr unsigned int VGT_SYS_CONFIG__MAX_LS_HS_THDGRP_MASK              = 0x0000007eL;
constexpr unsigned int VGT_TESS_DISTRIBUTION__ACCUM_ISOLINE_MASK          = 0x000000ffL;
constexpr unsigned int VGT_TESS_DISTRIBUTION__ACCUM_QUAD_MASK             = 0x00ff0000L;
constexpr unsigned int VGT_TESS_DISTRIBUTION__ACCUM_TRI_MASK              = 0x0000ff00L;
constexpr unsigned int VGT_TESS_DISTRIBUTION__DONUT_SPLIT_MASK            = 0x1f000000L;
constexpr unsigned int VGT_TESS_DISTRIBUTION__TRAP_SPLIT_MASK             = 0xe0000000L;
constexpr unsigned int VGT_TF_MEMORY_BASE_HI__BASE_HI_MASK                = 0x000000ffL;
constexpr unsigned int VGT_TF_MEMORY_BASE__BASE_MASK                      = 0xffffffffL;
constexpr unsigned int VGT_TF_PARAM__DISABLE_DONUTS_MASK                  = 0x00004000L;
constexpr unsigned int VGT_TF_PARAM__DISTRIBUTION_MODE_MASK               = 0x00060000L;
constexpr unsigned int VGT_TF_PARAM__PARTITIONING_MASK                    = 0x0000001cL;
constexpr unsigned int VGT_TF_PARAM__RESERVED_REDUC_AXIS_MASK             = 0x00000100L;
constexpr unsigned int VGT_TF_PARAM__TOPOLOGY_MASK                        = 0x000000e0L;
constexpr unsigned int VGT_TF_PARAM__TYPE_MASK                            = 0x00000003L;
constexpr unsigned int WD_ENHANCE__MISC_MASK                              = 0xffffffffL;
constexpr unsigned int WD_QOS__DRAW_STALL_MASK                            = 0x00000001L;
constexpr unsigned int WD_UTCL1_CNTL__BYPASS_MASK                         = 0x02000000L;
constexpr unsigned int WD_UTCL1_CNTL__DROP_MODE_MASK                      = 0x01000000L;
constexpr unsigned int WD_UTCL1_CNTL__FORCE_SNOOP_MASK                    = 0x10000000L;
constexpr unsigned int WD_UTCL1_CNTL__FRAG_LIMIT_MODE_MASK                = 0x08000000L;
constexpr unsigned int WD_UTCL1_CNTL__INVALIDATE_MASK                     = 0x04000000L;
constexpr unsigned int WD_UTCL1_CNTL__VMID_RESET_MODE_MASK                = 0x00800000L;
constexpr unsigned int WD_UTCL1_CNTL__XNACK_REDO_TIMER_CNT_MASK           = 0x000fffffL;
constexpr unsigned int WD_UTCL1_STATUS__FAULT_DETECTED_MASK               = 0x00000001L;
constexpr unsigned int WD_UTCL1_STATUS__FAULT_UTCL1ID_MASK                = 0x00003f00L;
constexpr unsigned int WD_UTCL1_STATUS__PRT_DETECTED_MASK                 = 0x00000004L;
constexpr unsigned int WD_UTCL1_STATUS__PRT_UTCL1ID_MASK                  = 0x3f000000L;
constexpr unsigned int WD_UTCL1_STATUS__RETRY_DETECTED_MASK               = 0x00000002L;
constexpr unsigned int WD_UTCL1_STATUS__RETRY_UTCL1ID_MASK                = 0x003f0000L;

namespace Apu09_1xPlus
{
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_DATA__data_MASK              = 0x000000ffL;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_DATA__RESERVED_MASK          = 0xffffff00L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeRearmAccum_MASK          = 0x00000004L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeResetPerfMonitors_MASK   = 0x00000001L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeStartAccumulation_MASK   = 0x00000002L;
    constexpr unsigned int RLC_SPM_ACCUM_DATARAM_ADDR__addr_MASK              = 0x0000007fL;
    constexpr unsigned int RLC_SPM_ACCUM_DATARAM_ADDR__RESERVED_MASK          = 0xffffff80L;
    constexpr unsigned int RLC_SPM_ACCUM_DATARAM_DATA__data_MASK              = 0xffffffffL;
    constexpr unsigned int RLC_SPM_ACCUM_DATARAM_WRCOUNT__DataRamWrCount_MASK = 0x0007ffffL;
    constexpr unsigned int RLC_SPM_ACCUM_DATARAM_WRCOUNT__RESERVED_MASK       = 0xfff80000L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__EnableAccum_MASK               = 0x00000001L;
    constexpr unsigned int RLC_SPM_ACCUM_SAMPLES_REQUESTED__SamplesRequested_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__AccumArmed_MASK              = 0x00000800L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__AccumDone_MASK               = 0x00000100L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__AccumOverflow_MASK           = 0x00000400L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__AllFifosEmpty_MASK           = 0x00004000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__FinalSequenceInProgress_MASK = 0x00002000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__FSMIsIdle_MASK               = 0x00008000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__NumbSamplesCompleted_MASK    = 0x000000ffL;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__SequenceInProgress_MASK      = 0x00001000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__SpmDone_MASK                 = 0x00000200L;
    constexpr unsigned int RLC_SPM_ACCUM_THRESHOLD__Threshold_MASK            = 0x0000ffffL;
    constexpr unsigned int SPI_SHADER_PGM_CHKSUM_GS__CHECKSUM_MASK            = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_PGM_CHKSUM_HS__CHECKSUM_MASK            = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_PGM_CHKSUM_PS__CHECKSUM_MASK            = 0xffffffffL;
} // namespace Apu09_1xPlus

namespace Core
{
    constexpr unsigned int CB_CGTT_SCLK_CTRL__OFF_HYSTERESIS_MASK             = 0x00000ff0L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__ON_DELAY_MASK                   = 0x0000000fL;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_OVERRIDE0_MASK             = 0x80000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_OVERRIDE1_MASK             = 0x40000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_OVERRIDE2_MASK             = 0x20000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_OVERRIDE3_MASK             = 0x10000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_OVERRIDE4_MASK             = 0x08000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_OVERRIDE5_MASK             = 0x04000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_OVERRIDE6_MASK             = 0x02000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_OVERRIDE7_MASK             = 0x01000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_STALL_OVERRIDE0_MASK       = 0x00800000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_STALL_OVERRIDE1_MASK       = 0x00400000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_STALL_OVERRIDE2_MASK       = 0x00200000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_STALL_OVERRIDE3_MASK       = 0x00100000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_STALL_OVERRIDE4_MASK       = 0x00080000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_STALL_OVERRIDE5_MASK       = 0x00040000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_STALL_OVERRIDE6_MASK       = 0x00020000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL__SOFT_STALL_OVERRIDE7_MASK       = 0x00010000L;
    constexpr unsigned int CB_HW_CONTROL_2__CC_EVEN_ODD_FIFO_DEPTH_MASK       = 0x000000ffL;
    constexpr unsigned int CPC_PERFCOUNTER1_SELECT__CNTR_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int CPF_PERFCOUNTER1_SELECT__CNTR_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int CPG_PERFCOUNTER1_SELECT__CNTR_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int DB_RING_CONTROL__COUNTER_CONTROL_MASK              = 0x00000003L;
    constexpr unsigned int GCEA_PERFCOUNTER0_CFG__CLEAR_MASK                  = 0x20000000L;
    constexpr unsigned int GCEA_PERFCOUNTER0_CFG__ENABLE_MASK                 = 0x10000000L;
    constexpr unsigned int GCEA_PERFCOUNTER0_CFG__PERF_MODE_MASK              = 0x0f000000L;
    constexpr unsigned int GCEA_PERFCOUNTER0_CFG__PERF_SEL_END_MASK           = 0x0000ff00L;
    constexpr unsigned int GCEA_PERFCOUNTER0_CFG__PERF_SEL_MASK               = 0x000000ffL;
    constexpr unsigned int GCEA_PERFCOUNTER1_CFG__CLEAR_MASK                  = 0x20000000L;
    constexpr unsigned int GCEA_PERFCOUNTER1_CFG__ENABLE_MASK                 = 0x10000000L;
    constexpr unsigned int GCEA_PERFCOUNTER1_CFG__PERF_MODE_MASK              = 0x0f000000L;
    constexpr unsigned int GCEA_PERFCOUNTER1_CFG__PERF_SEL_END_MASK           = 0x0000ff00L;
    constexpr unsigned int GCEA_PERFCOUNTER1_CFG__PERF_SEL_MASK               = 0x000000ffL;
    constexpr unsigned int GCEA_PERFCOUNTER_HI__COMPARE_VALUE_MASK            = 0xffff0000L;
    constexpr unsigned int GCEA_PERFCOUNTER_HI__COUNTER_HI_MASK               = 0x0000ffffL;
    constexpr unsigned int GCEA_PERFCOUNTER_LO__COUNTER_LO_MASK               = 0xffffffffL;
    constexpr unsigned int GCEA_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK         = 0x02000000L;
    constexpr unsigned int GCEA_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK        = 0x01000000L;
    constexpr unsigned int GCEA_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int GCEA_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK     = 0x0000ff00L;
    constexpr unsigned int GCEA_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int GCEA_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK      = 0x00ff0000L;
    constexpr unsigned int GDS_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GDS_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GDS_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GDS_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GDS_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GDS_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GDS_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GDS_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__EA_BUSY_USER_DEFINED_MASK_MASK = 0x40000000L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__EA_BUSY_USER_DEFINED_MASK_MASK = 0x40000000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_HI__PERFCOUNTER_HI_MASK       = 0xffffffffL;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_LO__PERFCOUNTER_LO_MASK       = 0xffffffffL;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__BCI_BUSY_USER_DEFINED_MASK_MASK = 0x00200000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__CB_BUSY_USER_DEFINED_MASK_MASK = 0x00040000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__CB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000800L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__DB_BUSY_USER_DEFINED_MASK_MASK = 0x00020000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__DB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000400L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__PA_BUSY_USER_DEFINED_MASK_MASK = 0x00100000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__PERF_SEL_MASK         = 0x0000003fL;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__RMI_BUSY_USER_DEFINED_MASK_MASK = 0x00400000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__SC_BUSY_USER_DEFINED_MASK_MASK = 0x00010000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__SPI_BUSY_USER_DEFINED_MASK_MASK = 0x00008000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__SX_BUSY_USER_DEFINED_MASK_MASK = 0x00002000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__TA_BUSY_USER_DEFINED_MASK_MASK = 0x00001000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_HI__PERFCOUNTER_HI_MASK       = 0xffffffffL;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_LO__PERFCOUNTER_LO_MASK       = 0xffffffffL;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__BCI_BUSY_USER_DEFINED_MASK_MASK = 0x00200000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__CB_BUSY_USER_DEFINED_MASK_MASK = 0x00040000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__CB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000800L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__DB_BUSY_USER_DEFINED_MASK_MASK = 0x00020000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__DB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000400L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__PA_BUSY_USER_DEFINED_MASK_MASK = 0x00100000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__PERF_SEL_MASK         = 0x0000003fL;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__RMI_BUSY_USER_DEFINED_MASK_MASK = 0x00400000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__SC_BUSY_USER_DEFINED_MASK_MASK = 0x00010000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__SPI_BUSY_USER_DEFINED_MASK_MASK = 0x00008000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__SX_BUSY_USER_DEFINED_MASK_MASK = 0x00002000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__TA_BUSY_USER_DEFINED_MASK_MASK = 0x00001000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_HI__PERFCOUNTER_HI_MASK       = 0xffffffffL;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_LO__PERFCOUNTER_LO_MASK       = 0xffffffffL;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__BCI_BUSY_USER_DEFINED_MASK_MASK = 0x00200000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__CB_BUSY_USER_DEFINED_MASK_MASK = 0x00040000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__CB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000800L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__DB_BUSY_USER_DEFINED_MASK_MASK = 0x00020000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__DB_CLEAN_USER_DEFINED_MASK_MASK = 0x00000400L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__PA_BUSY_USER_DEFINED_MASK_MASK = 0x00100000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__PERF_SEL_MASK         = 0x0000003fL;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__RMI_BUSY_USER_DEFINED_MASK_MASK = 0x00400000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__SC_BUSY_USER_DEFINED_MASK_MASK = 0x00010000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__SPI_BUSY_USER_DEFINED_MASK_MASK = 0x00008000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__SX_BUSY_USER_DEFINED_MASK_MASK = 0x00002000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__TA_BUSY_USER_DEFINED_MASK_MASK = 0x00001000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_FORCE_SOP_ALL_EVENTS_MASK = 0x00080000L;
    constexpr unsigned int PA_SC_ENHANCE_1__ENABLE_DFSM_FLUSH_EVENT_TO_FLUSH_POPS_CAM_MASK = 0x00000800L;
    constexpr unsigned int PA_SC_MODE_CNTL_0__ALTERNATE_RBS_PER_TILE_MASK     = 0x00000020L;
    constexpr unsigned int PA_SC_SHADER_CONTROL__LOAD_COLLISION_WAVEID_MASK   = 0x00000004L;
    constexpr unsigned int PA_SC_SHADER_CONTROL__LOAD_INTRAWAVE_COLLISION_MASK = 0x00000008L;
    constexpr unsigned int RPB_PERFCOUNTER0_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int RPB_PERFCOUNTER0_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int RPB_PERFCOUNTER0_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int RPB_PERFCOUNTER0_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int RPB_PERFCOUNTER0_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int RPB_PERFCOUNTER1_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int RPB_PERFCOUNTER1_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int RPB_PERFCOUNTER1_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int RPB_PERFCOUNTER1_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int RPB_PERFCOUNTER1_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int RPB_PERFCOUNTER2_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int RPB_PERFCOUNTER2_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int RPB_PERFCOUNTER2_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int RPB_PERFCOUNTER2_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int RPB_PERFCOUNTER2_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int RPB_PERFCOUNTER3_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int RPB_PERFCOUNTER3_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int RPB_PERFCOUNTER3_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int RPB_PERFCOUNTER3_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int RPB_PERFCOUNTER3_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int RPB_PERFCOUNTER_HI__COMPARE_VALUE_MASK             = 0xffff0000L;
    constexpr unsigned int RPB_PERFCOUNTER_HI__COUNTER_HI_MASK                = 0x0000ffffL;
    constexpr unsigned int RPB_PERFCOUNTER_LO__COUNTER_LO_MASK                = 0xffffffffL;
    constexpr unsigned int RPB_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK          = 0x02000000L;
    constexpr unsigned int RPB_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK         = 0x01000000L;
    constexpr unsigned int RPB_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int RPB_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK      = 0x0000ff00L;
    constexpr unsigned int RPB_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int RPB_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK       = 0x00ff0000L;
    constexpr unsigned int RPB_PERF_COUNTER_CNTL__PERF_COUNTER_SELECT_MASK    = 0x00000003L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__LBPW_CU_CHK_CNT_MASK            = 0x00003c00L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_1__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_1__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_3__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_3__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_4__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_4__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_5__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_5__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int TA_CGTT_CTRL__OFF_HYSTERESIS_MASK                  = 0x00000ff0L;
    constexpr unsigned int TA_CGTT_CTRL__ON_DELAY_MASK                        = 0x0000000fL;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_OVERRIDE0_MASK                  = 0x80000000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_OVERRIDE1_MASK                  = 0x40000000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_OVERRIDE2_MASK                  = 0x20000000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_OVERRIDE3_MASK                  = 0x10000000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_OVERRIDE4_MASK                  = 0x08000000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_OVERRIDE5_MASK                  = 0x04000000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_OVERRIDE6_MASK                  = 0x02000000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_OVERRIDE7_MASK                  = 0x01000000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_STALL_OVERRIDE0_MASK            = 0x00800000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_STALL_OVERRIDE1_MASK            = 0x00400000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_STALL_OVERRIDE2_MASK            = 0x00200000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_STALL_OVERRIDE3_MASK            = 0x00100000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_STALL_OVERRIDE4_MASK            = 0x00080000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_STALL_OVERRIDE5_MASK            = 0x00040000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_STALL_OVERRIDE6_MASK            = 0x00020000L;
    constexpr unsigned int TA_CGTT_CTRL__SOFT_STALL_OVERRIDE7_MASK            = 0x00010000L;
    constexpr unsigned int TA_CNTL_AUX__GATHERH_DST_SEL_MASK                  = 0x00000040L;
    constexpr unsigned int TA_CNTL__TD_FIFO_CREDIT_MASK                       = 0xffc00000L;
} // namespace Core

namespace Gfx09
{
    constexpr unsigned int ATC_L2_PERFCOUNTER0_CFG__CLEAR_MASK                = 0x20000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER0_CFG__ENABLE_MASK               = 0x10000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER0_CFG__PERF_MODE_MASK            = 0x0f000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER0_CFG__PERF_SEL_END_MASK         = 0x0000ff00L;
    constexpr unsigned int ATC_L2_PERFCOUNTER0_CFG__PERF_SEL_MASK             = 0x000000ffL;
    constexpr unsigned int ATC_L2_PERFCOUNTER1_CFG__CLEAR_MASK                = 0x20000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER1_CFG__ENABLE_MASK               = 0x10000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER1_CFG__PERF_MODE_MASK            = 0x0f000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER1_CFG__PERF_SEL_END_MASK         = 0x0000ff00L;
    constexpr unsigned int ATC_L2_PERFCOUNTER1_CFG__PERF_SEL_MASK             = 0x000000ffL;
    constexpr unsigned int ATC_L2_PERFCOUNTER_HI__COMPARE_VALUE_MASK          = 0xffff0000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER_HI__COUNTER_HI_MASK             = 0x0000ffffL;
    constexpr unsigned int ATC_L2_PERFCOUNTER_LO__COUNTER_LO_MASK             = 0xffffffffL;
    constexpr unsigned int ATC_L2_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK       = 0x02000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK      = 0x01000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int ATC_L2_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK   = 0x0000ff00L;
    constexpr unsigned int ATC_L2_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int ATC_L2_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK    = 0x00ff0000L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int ATC_PERFCOUNTER_HI__COMPARE_VALUE_MASK             = 0xffff0000L;
    constexpr unsigned int ATC_PERFCOUNTER_HI__COUNTER_HI_MASK                = 0x0000ffffL;
    constexpr unsigned int ATC_PERFCOUNTER_LO__COUNTER_LO_MASK                = 0xffffffffL;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK          = 0x02000000L;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK         = 0x01000000L;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK      = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK       = 0x00ff0000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__COLOR_SW_MODE_MASK               = 0x007c0000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__FMASK_SW_MODE_MASK               = 0x0f800000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__META_LINEAR_MASK                 = 0x00000800L;
    constexpr unsigned int CB_COLOR0_ATTRIB__MIP0_DEPTH_MASK                  = 0x000007ffL;
    constexpr unsigned int CB_COLOR0_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__PIPE_ALIGNED_MASK                = 0x80000000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__RB_ALIGNED_MASK                  = 0x40000000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__RESOURCE_TYPE_MASK               = 0x30000000L;
    constexpr unsigned int CB_COLOR0_VIEW__MIP_LEVEL_MASK                     = 0x0f000000L;
    constexpr unsigned int CB_COLOR0_VIEW__SLICE_MAX_MASK                     = 0x00ffe000L;
    constexpr unsigned int CB_COLOR0_VIEW__SLICE_START_MASK                   = 0x000007ffL;
    constexpr unsigned int CB_COLOR1_ATTRIB__COLOR_SW_MODE_MASK               = 0x007c0000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__FMASK_SW_MODE_MASK               = 0x0f800000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__META_LINEAR_MASK                 = 0x00000800L;
    constexpr unsigned int CB_COLOR1_ATTRIB__MIP0_DEPTH_MASK                  = 0x000007ffL;
    constexpr unsigned int CB_COLOR1_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__PIPE_ALIGNED_MASK                = 0x80000000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__RB_ALIGNED_MASK                  = 0x40000000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__RESOURCE_TYPE_MASK               = 0x30000000L;
    constexpr unsigned int CB_COLOR1_VIEW__MIP_LEVEL_MASK                     = 0x0f000000L;
    constexpr unsigned int CB_COLOR1_VIEW__SLICE_MAX_MASK                     = 0x00ffe000L;
    constexpr unsigned int CB_COLOR1_VIEW__SLICE_START_MASK                   = 0x000007ffL;
    constexpr unsigned int CB_COLOR2_ATTRIB__COLOR_SW_MODE_MASK               = 0x007c0000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__FMASK_SW_MODE_MASK               = 0x0f800000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__META_LINEAR_MASK                 = 0x00000800L;
    constexpr unsigned int CB_COLOR2_ATTRIB__MIP0_DEPTH_MASK                  = 0x000007ffL;
    constexpr unsigned int CB_COLOR2_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__PIPE_ALIGNED_MASK                = 0x80000000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__RB_ALIGNED_MASK                  = 0x40000000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__RESOURCE_TYPE_MASK               = 0x30000000L;
    constexpr unsigned int CB_COLOR2_VIEW__MIP_LEVEL_MASK                     = 0x0f000000L;
    constexpr unsigned int CB_COLOR2_VIEW__SLICE_MAX_MASK                     = 0x00ffe000L;
    constexpr unsigned int CB_COLOR2_VIEW__SLICE_START_MASK                   = 0x000007ffL;
    constexpr unsigned int CB_COLOR3_ATTRIB__COLOR_SW_MODE_MASK               = 0x007c0000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__FMASK_SW_MODE_MASK               = 0x0f800000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__META_LINEAR_MASK                 = 0x00000800L;
    constexpr unsigned int CB_COLOR3_ATTRIB__MIP0_DEPTH_MASK                  = 0x000007ffL;
    constexpr unsigned int CB_COLOR3_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__PIPE_ALIGNED_MASK                = 0x80000000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__RB_ALIGNED_MASK                  = 0x40000000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__RESOURCE_TYPE_MASK               = 0x30000000L;
    constexpr unsigned int CB_COLOR3_VIEW__MIP_LEVEL_MASK                     = 0x0f000000L;
    constexpr unsigned int CB_COLOR3_VIEW__SLICE_MAX_MASK                     = 0x00ffe000L;
    constexpr unsigned int CB_COLOR3_VIEW__SLICE_START_MASK                   = 0x000007ffL;
    constexpr unsigned int CB_COLOR4_ATTRIB__COLOR_SW_MODE_MASK               = 0x007c0000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__FMASK_SW_MODE_MASK               = 0x0f800000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__META_LINEAR_MASK                 = 0x00000800L;
    constexpr unsigned int CB_COLOR4_ATTRIB__MIP0_DEPTH_MASK                  = 0x000007ffL;
    constexpr unsigned int CB_COLOR4_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__PIPE_ALIGNED_MASK                = 0x80000000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__RB_ALIGNED_MASK                  = 0x40000000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__RESOURCE_TYPE_MASK               = 0x30000000L;
    constexpr unsigned int CB_COLOR4_VIEW__MIP_LEVEL_MASK                     = 0x0f000000L;
    constexpr unsigned int CB_COLOR4_VIEW__SLICE_MAX_MASK                     = 0x00ffe000L;
    constexpr unsigned int CB_COLOR4_VIEW__SLICE_START_MASK                   = 0x000007ffL;
    constexpr unsigned int CB_COLOR5_ATTRIB__COLOR_SW_MODE_MASK               = 0x007c0000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__FMASK_SW_MODE_MASK               = 0x0f800000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__META_LINEAR_MASK                 = 0x00000800L;
    constexpr unsigned int CB_COLOR5_ATTRIB__MIP0_DEPTH_MASK                  = 0x000007ffL;
    constexpr unsigned int CB_COLOR5_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__PIPE_ALIGNED_MASK                = 0x80000000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__RB_ALIGNED_MASK                  = 0x40000000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__RESOURCE_TYPE_MASK               = 0x30000000L;
    constexpr unsigned int CB_COLOR5_VIEW__MIP_LEVEL_MASK                     = 0x0f000000L;
    constexpr unsigned int CB_COLOR5_VIEW__SLICE_MAX_MASK                     = 0x00ffe000L;
    constexpr unsigned int CB_COLOR5_VIEW__SLICE_START_MASK                   = 0x000007ffL;
    constexpr unsigned int CB_COLOR6_ATTRIB__COLOR_SW_MODE_MASK               = 0x007c0000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__FMASK_SW_MODE_MASK               = 0x0f800000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__META_LINEAR_MASK                 = 0x00000800L;
    constexpr unsigned int CB_COLOR6_ATTRIB__MIP0_DEPTH_MASK                  = 0x000007ffL;
    constexpr unsigned int CB_COLOR6_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__PIPE_ALIGNED_MASK                = 0x80000000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__RB_ALIGNED_MASK                  = 0x40000000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__RESOURCE_TYPE_MASK               = 0x30000000L;
    constexpr unsigned int CB_COLOR6_VIEW__MIP_LEVEL_MASK                     = 0x0f000000L;
    constexpr unsigned int CB_COLOR6_VIEW__SLICE_MAX_MASK                     = 0x00ffe000L;
    constexpr unsigned int CB_COLOR6_VIEW__SLICE_START_MASK                   = 0x000007ffL;
    constexpr unsigned int CB_COLOR7_ATTRIB__COLOR_SW_MODE_MASK               = 0x007c0000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__FMASK_SW_MODE_MASK               = 0x0f800000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__META_LINEAR_MASK                 = 0x00000800L;
    constexpr unsigned int CB_COLOR7_ATTRIB__MIP0_DEPTH_MASK                  = 0x000007ffL;
    constexpr unsigned int CB_COLOR7_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__PIPE_ALIGNED_MASK                = 0x80000000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__RB_ALIGNED_MASK                  = 0x40000000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__RESOURCE_TYPE_MASK               = 0x30000000L;
    constexpr unsigned int CB_COLOR7_VIEW__MIP_LEVEL_MASK                     = 0x0f000000L;
    constexpr unsigned int CB_COLOR7_VIEW__SLICE_MAX_MASK                     = 0x00ffe000L;
    constexpr unsigned int CB_COLOR7_VIEW__SLICE_START_MASK                   = 0x000007ffL;
    constexpr unsigned int CB_DCC_CONFIG__DCC_CACHE_EVICT_POINT_MASK          = 0x0f000000L;
    constexpr unsigned int CB_DCC_CONFIG__DCC_CACHE_NUM_TAGS_MASK             = 0xf0000000L;
    constexpr unsigned int CB_DCC_CONFIG__READ_RETURN_SKID_FIFO_DEPTH_MASK    = 0x007f0000L;
    constexpr unsigned int CB_DCC_CONTROL__OVERWRITE_COMBINER_MRT_SHARING_DISABLE_MASK = 0x00000002L;
    constexpr unsigned int CB_HW_CONTROL_1__CC_CACHE_NUM_TAGS_MASK            = 0x0001f800L;
    constexpr unsigned int CB_HW_CONTROL_1__CM_TILE_FIFO_DEPTH_MASK           = 0x03fe0000L;
    constexpr unsigned int CB_HW_CONTROL_1__FC_CACHE_NUM_TAGS_MASK            = 0x000007e0L;
    constexpr unsigned int CB_HW_CONTROL_1__RMI_CREDITS_MASK                  = 0xfc000000L;
    constexpr unsigned int CB_HW_CONTROL_2__CHICKEN_BITS_MASK                 = 0xf0000000L;
    constexpr unsigned int CB_HW_CONTROL_2__DRR_ASSUMED_FIFO_DEPTH_DIV8_MASK  = 0x0f000000L;
    constexpr unsigned int CB_HW_CONTROL_3__COLOR_CACHE_PREFETCH_NUM_CLS_MASK = 0x30000000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_BLENDER_CLOCK_GATING_MASK = 0x04000000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_CC_CACHE_OVWR_KEY_MOD_MASK = 0x00000040L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_OVERWRITE_COMBINER_TARGET_MASK_VALIDATION_MASK = 0x00000100L;
    constexpr unsigned int CB_HW_CONTROL__ALLOW_MRT_WITH_DUAL_SOURCE_MASK     = 0x00010000L;
    constexpr unsigned int CB_HW_CONTROL__CC_CACHE_EVICT_POINT_MASK           = 0x0000f000L;
    constexpr unsigned int CB_HW_CONTROL__CM_CACHE_EVICT_POINT_MASK           = 0x0000000fL;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_INTNORM_LE11BPC_CLAMPING_MASK = 0x00040000L;
    constexpr unsigned int CB_HW_CONTROL__FC_CACHE_EVICT_POINT_MASK           = 0x000003c0L;
    constexpr unsigned int CB_MRT0_EPITCH__EPITCH_MASK                        = 0x0000ffffL;
    constexpr unsigned int CB_MRT1_EPITCH__EPITCH_MASK                        = 0x0000ffffL;
    constexpr unsigned int CB_MRT2_EPITCH__EPITCH_MASK                        = 0x0000ffffL;
    constexpr unsigned int CB_MRT3_EPITCH__EPITCH_MASK                        = 0x0000ffffL;
    constexpr unsigned int CB_MRT4_EPITCH__EPITCH_MASK                        = 0x0000ffffL;
    constexpr unsigned int CB_MRT5_EPITCH__EPITCH_MASK                        = 0x0000ffffL;
    constexpr unsigned int CB_MRT6_EPITCH__EPITCH_MASK                        = 0x0000ffffL;
    constexpr unsigned int CB_MRT7_EPITCH__EPITCH_MASK                        = 0x0000ffffL;
    constexpr unsigned int CB_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000001ffL;
    constexpr unsigned int CB_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x0007fc00L;
    constexpr unsigned int CB_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x0007fc00L;
    constexpr unsigned int CB_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000001ffL;
    constexpr unsigned int CB_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000001ffL;
    constexpr unsigned int CB_PERFCOUNTER2_SELECT__PERF_SEL_MASK              = 0x000001ffL;
    constexpr unsigned int CB_PERFCOUNTER3_SELECT__PERF_SEL_MASK              = 0x000001ffL;
    constexpr unsigned int COMPUTE_PGM_RSRC2__SKIP_USGPR0_MASK                = 0x80000000L;
    constexpr unsigned int COMPUTE_RESOURCE_LIMITS__SIMD_DISABLE_MASK         = 0x78000000L;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE0__SH0_CU_EN_MASK     = 0x0000ffffL;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE0__SH1_CU_EN_MASK     = 0xffff0000L;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE1__SH0_CU_EN_MASK     = 0x0000ffffL;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE1__SH1_CU_EN_MASK     = 0xffff0000L;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE2__SH0_CU_EN_MASK     = 0x0000ffffL;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE2__SH1_CU_EN_MASK     = 0xffff0000L;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE3__SH0_CU_EN_MASK     = 0x0000ffffL;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE3__SH1_CU_EN_MASK     = 0xffff0000L;
    constexpr unsigned int CPC_PERFCOUNTER0_SELECT1__CNTR_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int CPC_PERFCOUNTER0_SELECT1__CNTR_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int CPC_PERFCOUNTER0_SELECT__CNTR_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int CPC_PERFCOUNTER0_SELECT__CNTR_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPC_PERFCOUNTER1_SELECT__CNTR_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int CPC_PERFCOUNTER1_SELECT__CNTR_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPF_PERFCOUNTER0_SELECT1__CNTR_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int CPF_PERFCOUNTER0_SELECT1__CNTR_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int CPF_PERFCOUNTER0_SELECT__CNTR_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int CPF_PERFCOUNTER0_SELECT__CNTR_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPF_PERFCOUNTER1_SELECT__CNTR_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int CPF_PERFCOUNTER1_SELECT__CNTR_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPG_PERFCOUNTER0_SELECT1__CNTR_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int CPG_PERFCOUNTER0_SELECT1__CNTR_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int CPG_PERFCOUNTER0_SELECT__CNTR_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int CPG_PERFCOUNTER0_SELECT__CNTR_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPG_PERFCOUNTER1_SELECT__CNTR_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int CPG_PERFCOUNTER1_SELECT__CNTR_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__OFF_HYSTERESIS_MASK            = 0x00000ff0L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__ON_DELAY_MASK                  = 0x0000000fL;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__RESERVED_MASK                  = 0x0000f000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE0_MASK            = 0x80000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE1_MASK            = 0x40000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE2_MASK            = 0x20000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE3_MASK            = 0x10000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE4_MASK            = 0x08000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE5_MASK            = 0x04000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE6_MASK            = 0x02000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE7_MASK            = 0x01000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE0_MASK      = 0x00800000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE1_MASK      = 0x00400000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE2_MASK      = 0x00200000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE3_MASK      = 0x00100000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE4_MASK      = 0x00080000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE5_MASK      = 0x00040000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE6_MASK      = 0x00020000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE7_MASK      = 0x00010000L;
    constexpr unsigned int DB_DEPTH_SIZE__X_MAX_MASK                          = 0x00003fffL;
    constexpr unsigned int DB_DEPTH_SIZE__Y_MAX_MASK                          = 0x3fff0000L;
    constexpr unsigned int DB_DFSM_CONFIG__BYPASS_DFSM_MASK                   = 0x00000001L;
    constexpr unsigned int DB_DFSM_CONFIG__DISABLE_POPS_MASK                  = 0x00000004L;
    constexpr unsigned int DB_DFSM_CONFIG__DISABLE_PUNCHOUT_MASK              = 0x00000002L;
    constexpr unsigned int DB_DFSM_CONFIG__FORCE_FLUSH_MASK                   = 0x00000008L;
    constexpr unsigned int DB_DFSM_CONFIG__MIDDLE_PIPE_MAX_DEPTH_MASK         = 0x00007f00L;
    constexpr unsigned int DB_DFSM_CONTROL__DISALLOW_OVERFLOW_MASK            = 0x00000008L;
    constexpr unsigned int DB_DFSM_CONTROL__POPS_DRAIN_PS_ON_OVERLAP_MASK     = 0x00000004L;
    constexpr unsigned int DB_DFSM_CONTROL__PUNCHOUT_MODE_MASK                = 0x00000003L;
    constexpr unsigned int DB_DFSM_FLUSH_AUX_EVENT__EVENT_A_MASK              = 0x000000ffL;
    constexpr unsigned int DB_DFSM_FLUSH_AUX_EVENT__EVENT_B_MASK              = 0x0000ff00L;
    constexpr unsigned int DB_DFSM_FLUSH_AUX_EVENT__EVENT_C_MASK              = 0x00ff0000L;
    constexpr unsigned int DB_DFSM_FLUSH_AUX_EVENT__EVENT_D_MASK              = 0xff000000L;
    constexpr unsigned int DB_DFSM_FLUSH_ENABLE__AUX_EVENTS_MASK              = 0xf0000000L;
    constexpr unsigned int DB_DFSM_FLUSH_ENABLE__AUX_FORCE_PASSTHRU_MASK      = 0x0f000000L;
    constexpr unsigned int DB_DFSM_FLUSH_ENABLE__PRIMARY_EVENTS_MASK          = 0x000003ffL;
    constexpr unsigned int DB_DFSM_PRIMS_IN_FLIGHT__HARD_LIMIT_MASK           = 0xffff0000L;
    constexpr unsigned int DB_DFSM_PRIMS_IN_FLIGHT__HIGH_WATERMARK_MASK       = 0x0000ffffL;
    constexpr unsigned int DB_DFSM_TILES_IN_FLIGHT__HARD_LIMIT_MASK           = 0xffff0000L;
    constexpr unsigned int DB_DFSM_TILES_IN_FLIGHT__HIGH_WATERMARK_MASK       = 0x0000ffffL;
    constexpr unsigned int DB_DFSM_WATCHDOG__TIMER_TARGET_MASK                = 0xffffffffL;
    constexpr unsigned int DB_DFSM_WATERMARK__DFSM_HIGH_WATERMARK_MASK        = 0x0000ffffL;
    constexpr unsigned int DB_DFSM_WATERMARK__POPS_HIGH_WATERMARK_MASK        = 0xffff0000L;
    constexpr unsigned int DB_FIFO_DEPTH1__DB_RMI_RDREQ_CREDITS_MASK          = 0x0000001fL;
    constexpr unsigned int DB_FIFO_DEPTH1__DB_RMI_WRREQ_CREDITS_MASK          = 0x000003e0L;
    constexpr unsigned int DB_FIFO_DEPTH1__LTILE_PROBE_FIFO_DEPTH_MASK        = 0x1fe00000L;
    constexpr unsigned int DB_FIFO_DEPTH1__MCC_DEPTH_MASK                     = 0x0000fc00L;
    constexpr unsigned int DB_FIFO_DEPTH1__QC_DEPTH_MASK                      = 0x001f0000L;
    constexpr unsigned int DB_FIFO_DEPTH2__ETILE_OP_FIFO_DEPTH_MASK           = 0x00007f00L;
    constexpr unsigned int DB_FIFO_DEPTH2__LQUAD_FIFO_DEPTH_MASK              = 0x01ff8000L;
    constexpr unsigned int DB_FREE_CACHELINES__FREE_DTILE_DEPTH_MASK          = 0x0000007fL;
    constexpr unsigned int DB_FREE_CACHELINES__FREE_HTILE_DEPTH_MASK          = 0x00f00000L;
    constexpr unsigned int DB_FREE_CACHELINES__FREE_PLANE_DEPTH_MASK          = 0x00003f80L;
    constexpr unsigned int DB_FREE_CACHELINES__FREE_Z_DEPTH_MASK              = 0x000fc000L;
    constexpr unsigned int DB_FREE_CACHELINES__QUAD_READ_REQS_MASK            = 0xff000000L;
    constexpr unsigned int DB_HTILE_SURFACE__HTILE_USES_PRELOAD_WIN_MASK      = 0x00000004L;
    constexpr unsigned int DB_HTILE_SURFACE__PREFETCH_HEIGHT_MASK             = 0x0000fc00L;
    constexpr unsigned int DB_HTILE_SURFACE__PREFETCH_WIDTH_MASK              = 0x000003f0L;
    constexpr unsigned int DB_HTILE_SURFACE__PRELOAD_MASK                     = 0x00000008L;
    constexpr unsigned int DB_HTILE_SURFACE__RB_ALIGNED_MASK                  = 0x00080000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__CC_RD_MASK                    = 0x00010000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__CC_WR_MASK                    = 0x01000000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__CMASK_RD_MASK                 = 0x00040000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__CMASK_WR_MASK                 = 0x04000000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__DCC_RD_MASK                   = 0x00080000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__DCC_WR_MASK                   = 0x08000000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__FMASK_RD_MASK                 = 0x00020000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__FMASK_WR_MASK                 = 0x02000000L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__HTILE_RD_MASK                 = 0x00000004L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__HTILE_WR_MASK                 = 0x00000400L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__S_RD_MASK                     = 0x00000002L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__S_WR_MASK                     = 0x00000200L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__ZPCPSD_WR_MASK                = 0x00000800L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__Z_RD_MASK                     = 0x00000001L;
    constexpr unsigned int DB_RMI_CACHE_POLICY__Z_WR_MASK                     = 0x00000100L;
    constexpr unsigned int DB_STENCIL_INFO2__EPITCH_MASK                      = 0x0000ffffL;
    constexpr unsigned int DB_STENCIL_INFO__CLEAR_DISALLOWED_MASK             = 0x40000000L;
    constexpr unsigned int DB_STENCIL_INFO__FAULT_BEHAVIOR_MASK               = 0x00006000L;
    constexpr unsigned int DB_STENCIL_INFO__ITERATE_FLUSH_MASK                = 0x00008000L;
    constexpr unsigned int DB_WATERMARKS__AUTO_FLUSH_HTILE_MASK               = 0x40000000L;
    constexpr unsigned int DB_WATERMARKS__AUTO_FLUSH_QUAD_MASK                = 0x80000000L;
    constexpr unsigned int DB_WATERMARKS__DEPTH_CACHELINE_FREE_MASK           = 0x0ff00000L;
    constexpr unsigned int DB_WATERMARKS__DEPTH_FLUSH_MASK                    = 0x000007e0L;
    constexpr unsigned int DB_WATERMARKS__DEPTH_FREE_MASK                     = 0x0000001fL;
    constexpr unsigned int DB_WATERMARKS__DEPTH_PENDING_FREE_MASK             = 0x000f8000L;
    constexpr unsigned int DB_WATERMARKS__FORCE_SUMMARIZE_MASK                = 0x00007800L;
    constexpr unsigned int DB_Z_INFO2__EPITCH_MASK                            = 0x0000ffffL;
    constexpr unsigned int DB_Z_INFO__CLEAR_DISALLOWED_MASK                   = 0x40000000L;
    constexpr unsigned int DB_Z_INFO__FAULT_BEHAVIOR_MASK                     = 0x00006000L;
    constexpr unsigned int DB_Z_INFO__ITERATE_FLUSH_MASK                      = 0x00008000L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__BANK_INTERLEAVE_SIZE_MASK     = 0x00000700L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__MULTI_GPU_TILE_SIZE_MASK      = 0x03000000L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__NUM_BANKS_MASK                = 0x00007000L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__NUM_GPUS_MASK                 = 0x00e00000L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__NUM_LOWER_PIPES_MASK          = 0x40000000L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__ROW_SIZE_MASK                 = 0x30000000L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__SE_ENABLE_MASK                = 0x80000000L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__SHADER_ENGINE_TILE_SIZE_MASK  = 0x00070000L;
    constexpr unsigned int GB_ADDR_CONFIG__BANK_INTERLEAVE_SIZE_MASK          = 0x00000700L;
    constexpr unsigned int GB_ADDR_CONFIG__MULTI_GPU_TILE_SIZE_MASK           = 0x03000000L;
    constexpr unsigned int GB_ADDR_CONFIG__NUM_BANKS_MASK                     = 0x00007000L;
    constexpr unsigned int GB_ADDR_CONFIG__NUM_GPUS_MASK                      = 0x00e00000L;
    constexpr unsigned int GB_ADDR_CONFIG__NUM_LOWER_PIPES_MASK               = 0x40000000L;
    constexpr unsigned int GB_ADDR_CONFIG__ROW_SIZE_MASK                      = 0x30000000L;
    constexpr unsigned int GB_ADDR_CONFIG__SE_ENABLE_MASK                     = 0x80000000L;
    constexpr unsigned int GB_ADDR_CONFIG__SHADER_ENGINE_TILE_SIZE_MASK       = 0x00070000L;
    constexpr unsigned int GRBM_GFX_INDEX_SR_DATA__SH_BROADCAST_WRITES_MASK   = 0x20000000L;
    constexpr unsigned int GRBM_GFX_INDEX_SR_DATA__SH_INDEX_MASK              = 0x0000ff00L;
    constexpr unsigned int GRBM_GFX_INDEX__SH_BROADCAST_WRITES_MASK           = 0x20000000L;
    constexpr unsigned int GRBM_GFX_INDEX__SH_INDEX_MASK                      = 0x0000ff00L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__IA_BUSY_USER_DEFINED_MASK_MASK = 0x00800000L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__TC_BUSY_USER_DEFINED_MASK_MASK = 0x08000000L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__VGT_BUSY_USER_DEFINED_MASK_MASK = 0x00001000L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__WD_BUSY_USER_DEFINED_MASK_MASK = 0x10000000L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__IA_BUSY_USER_DEFINED_MASK_MASK = 0x00800000L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__TC_BUSY_USER_DEFINED_MASK_MASK = 0x08000000L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__VGT_BUSY_USER_DEFINED_MASK_MASK = 0x00001000L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__WD_BUSY_USER_DEFINED_MASK_MASK = 0x10000000L;
    constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__VGT_BUSY_USER_DEFINED_MASK_MASK = 0x00080000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__VGT_BUSY_USER_DEFINED_MASK_MASK = 0x00080000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__VGT_BUSY_USER_DEFINED_MASK_MASK = 0x00080000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__VGT_BUSY_USER_DEFINED_MASK_MASK = 0x00080000L;
    constexpr unsigned int IA_CNTL_STATUS__IA_ADC_BUSY_MASK                   = 0x00000010L;
    constexpr unsigned int IA_CNTL_STATUS__IA_BUSY_MASK                       = 0x00000001L;
    constexpr unsigned int IA_CNTL_STATUS__IA_DMA_BUSY_MASK                   = 0x00000002L;
    constexpr unsigned int IA_CNTL_STATUS__IA_DMA_REQ_BUSY_MASK               = 0x00000004L;
    constexpr unsigned int IA_CNTL_STATUS__IA_GRP_BUSY_MASK                   = 0x00000008L;
    constexpr unsigned int IA_MULTI_VGT_PARAM__EN_INST_OPT_ADV_MASK           = 0x00400000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM__EN_INST_OPT_BASIC_MASK         = 0x00200000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM__HW_USE_ONLY_MASK               = 0x00800000L;
    constexpr unsigned int IA_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int IA_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int IA_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int IA_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int IA_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int IA_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int IA_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int IA_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int IA_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int IA_PERFCOUNTER2_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int IA_PERFCOUNTER2_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int IA_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int IA_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int IA_PERFCOUNTER3_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int IA_PERFCOUNTER3_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int IA_UTCL1_CNTL__FORCE_SD_VMID_DIRTY_MASK            = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER0_CFG__CLEAR_MASK              = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER0_CFG__ENABLE_MASK             = 0x10000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER0_CFG__PERF_MODE_MASK          = 0x0f000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER0_CFG__PERF_SEL_END_MASK       = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER0_CFG__PERF_SEL_MASK           = 0x000000ffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER1_CFG__CLEAR_MASK              = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER1_CFG__ENABLE_MASK             = 0x10000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER1_CFG__PERF_MODE_MASK          = 0x0f000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER1_CFG__PERF_SEL_END_MASK       = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER1_CFG__PERF_SEL_MASK           = 0x000000ffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER2_CFG__CLEAR_MASK              = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER2_CFG__ENABLE_MASK             = 0x10000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER2_CFG__PERF_MODE_MASK          = 0x0f000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER2_CFG__PERF_SEL_END_MASK       = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER2_CFG__PERF_SEL_MASK           = 0x000000ffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER3_CFG__CLEAR_MASK              = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER3_CFG__ENABLE_MASK             = 0x10000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER3_CFG__PERF_MODE_MASK          = 0x0f000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER3_CFG__PERF_SEL_END_MASK       = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER3_CFG__PERF_SEL_MASK           = 0x000000ffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER4_CFG__CLEAR_MASK              = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER4_CFG__ENABLE_MASK             = 0x10000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER4_CFG__PERF_MODE_MASK          = 0x0f000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER4_CFG__PERF_SEL_END_MASK       = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER4_CFG__PERF_SEL_MASK           = 0x000000ffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER5_CFG__CLEAR_MASK              = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER5_CFG__ENABLE_MASK             = 0x10000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER5_CFG__PERF_MODE_MASK          = 0x0f000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER5_CFG__PERF_SEL_END_MASK       = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER5_CFG__PERF_SEL_MASK           = 0x000000ffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER6_CFG__CLEAR_MASK              = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER6_CFG__ENABLE_MASK             = 0x10000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER6_CFG__PERF_MODE_MASK          = 0x0f000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER6_CFG__PERF_SEL_END_MASK       = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER6_CFG__PERF_SEL_MASK           = 0x000000ffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER7_CFG__CLEAR_MASK              = 0x20000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER7_CFG__ENABLE_MASK             = 0x10000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER7_CFG__PERF_MODE_MASK          = 0x0f000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER7_CFG__PERF_SEL_END_MASK       = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER7_CFG__PERF_SEL_MASK           = 0x000000ffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_HI__COMPARE_VALUE_MASK        = 0xffff0000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_HI__COUNTER_HI_MASK           = 0x0000ffffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_LO__COUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK     = 0x02000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK    = 0x01000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK = 0x0000ff00L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int MC_VM_L2_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK  = 0x00ff0000L;
    constexpr unsigned int MP1_SMN_FPS_CNT__COUNT_MASK                        = 0xffffffffL;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_FAULT_DETECTED_MASK         = 0x00000001L;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_PRT_DETECTED_MASK           = 0x00000004L;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_RETRY_DETECTED_MASK         = 0x00000002L;
    constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_LINE_WIDTH_MASK         = 0x04000000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__FLUSH_GS_OUTPUT_MASK    = 0x0c000000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__CS_CONTEXT_DONE_MASK    = 0x000000c0L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__FLUSH_SX_TS_MASK        = 0x000c0000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__RESERVED_63_MASK        = 0xc0000000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__SX_CB_RAT_ACK_REQUEST_MASK = 0x00000030L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__THREAD_TRACE_FLUSH_MASK = 0x00003000L;
    constexpr unsigned int PA_SC_ENHANCE_1__ALLOW_SCALE_LINE_WIDTH_PAD_WITH_BINNING_MASK = 0x00020000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DEBUG_PIXEL_PICKER_XY_UNPACK_MASK = 0x00001000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_PACKER_GRAD_FDCE_ENHANCE_MASK = 0x00002000L;
    constexpr unsigned int PA_SC_MODE_CNTL_0__SCALE_LINE_WIDTH_PAD_MASK       = 0x00000010L;
    constexpr unsigned int PA_SC_RASTER_CONFIG_1__SE_PAIR_XSEL_MASK           = 0x0000001cL;
    constexpr unsigned int PA_SC_RASTER_CONFIG_1__SE_PAIR_YSEL_MASK           = 0x000000e0L;
    constexpr unsigned int PA_SC_RASTER_CONFIG__SE_XSEL_MASK                  = 0x1c000000L;
    constexpr unsigned int PA_SC_RASTER_CONFIG__SE_YSEL_MASK                  = 0xe0000000L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_RB_PER_SE_MASK   = 0x00000060L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_SE_MASK          = 0x00000006L;
    constexpr unsigned int PA_SU_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int PA_UTCL1_CNTL1__CLIENTID_MASK                      = 0x0000ff80L;
    constexpr unsigned int PA_UTCL1_CNTL1__ENABLE_LFIFO_PRI_ARB_MASK          = 0x00040000L;
    constexpr unsigned int PA_UTCL1_CNTL1__ENABLE_PUSH_LFIFO_MASK             = 0x00020000L;
    constexpr unsigned int PA_UTCL1_CNTL1__FORCE_4K_L2_RESP_MASK              = 0x00000001L;
    constexpr unsigned int PA_UTCL1_CNTL1__FORCE_IN_ORDER_MASK                = 0x08000000L;
    constexpr unsigned int PA_UTCL1_CNTL1__FORCE_MISS_MASK                    = 0x04000000L;
    constexpr unsigned int PA_UTCL1_CNTL1__GPUVM_64K_DEFAULT_MASK             = 0x00000002L;
    constexpr unsigned int PA_UTCL1_CNTL1__GPUVM_PERM_MODE_MASK               = 0x00000004L;
    constexpr unsigned int PA_UTCL1_CNTL1__INVALIDATE_ALL_VMID_MASK           = 0x02000000L;
    constexpr unsigned int PA_UTCL1_CNTL1__REDUCE_CACHE_SIZE_BY_2_MASK        = 0xc0000000L;
    constexpr unsigned int PA_UTCL1_CNTL1__REDUCE_FIFO_DEPTH_BY_2_MASK        = 0x30000000L;
    constexpr unsigned int PA_UTCL1_CNTL1__REG_INV_ALL_VMID_MASK              = 0x00800000L;
    constexpr unsigned int PA_UTCL1_CNTL1__REG_INV_TOGGLE_MASK                = 0x01000000L;
    constexpr unsigned int PA_UTCL1_CNTL1__REG_INV_VMID_MASK                  = 0x00780000L;
    constexpr unsigned int PA_UTCL1_CNTL1__RESP_FAULT_MODE_MASK               = 0x00000060L;
    constexpr unsigned int PA_UTCL1_CNTL1__RESP_MODE_MASK                     = 0x00000018L;
    constexpr unsigned int PA_UTCL1_CNTL1__SPARE_MASK                         = 0x00010000L;
    constexpr unsigned int PA_UTCL1_CNTL2__ENABLE_PERF_EVENT_RD_WR_MASK       = 0x00040000L;
    constexpr unsigned int PA_UTCL1_CNTL2__ENABLE_PERF_EVENT_VMID_MASK        = 0x00100000L;
    constexpr unsigned int PA_UTCL1_CNTL2__ENABLE_SHOOTDOWN_OPT_MASK          = 0x00002000L;
    constexpr unsigned int PA_UTCL1_CNTL2__FORCE_FRAG_2M_TO_64K_MASK          = 0x04000000L;
    constexpr unsigned int PA_UTCL1_CNTL2__FORCE_GPUVM_INV_ACK_MASK           = 0x00008000L;
    constexpr unsigned int PA_UTCL1_CNTL2__FORCE_SNOOP_MASK                   = 0x00004000L;
    constexpr unsigned int PA_UTCL1_CNTL2__GPUVM_INV_MODE_MASK                = 0x00001000L;
    constexpr unsigned int PA_UTCL1_CNTL2__LINE_VALID_MASK                    = 0x00000400L;
    constexpr unsigned int PA_UTCL1_CNTL2__MTYPE_OVRD_DIS_MASK                = 0x00000200L;
    constexpr unsigned int PA_UTCL1_CNTL2__PERF_EVENT_RD_WR_MASK              = 0x00080000L;
    constexpr unsigned int PA_UTCL1_CNTL2__PERF_EVENT_VMID_MASK               = 0x01e00000L;
    constexpr unsigned int PA_UTCL1_CNTL2__RESERVED_MASK                      = 0xf8000000L;
    constexpr unsigned int PA_UTCL1_CNTL2__SPARE1_MASK                        = 0x000000ffL;
    constexpr unsigned int PA_UTCL1_CNTL2__SPARE2_MASK                        = 0x00000100L;
    constexpr unsigned int PA_UTCL1_CNTL2__SPARE3_MASK                        = 0x00000800L;
    constexpr unsigned int PA_UTCL1_CNTL2__SPARE4_MASK                        = 0x00030000L;
    constexpr unsigned int PA_UTCL1_CNTL2__SPARE5_MASK                        = 0x02000000L;
    constexpr unsigned int RLC_SPM_CB_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_CB_PERFMON_SAMPLE_DELAY__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_CPC_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_CPC_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_CPF_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_CPF_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_CPG_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_CPG_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_DB_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_DB_PERFMON_SAMPLE_DELAY__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_GDS_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_GDS_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_GLOBAL_MUXSEL_ADDR__PERFMON_SEL_ADDR_MASK  = 0xffffffffL;
    constexpr unsigned int RLC_SPM_IA_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_IA_PERFMON_SAMPLE_DELAY__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RESERVED_MASK                     = 0xfffffc00L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_FED_MASK                  = 0x00000040L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_MTYPE_MASK                = 0x00000300L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_MTYPE_OVER_MASK           = 0x00000080L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_PERF_CNTR_MASK            = 0x00000020L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_POLICY_MASK               = 0x00000010L;
    constexpr unsigned int RLC_SPM_PA_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_PA_PERFMON_SAMPLE_DELAY__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_PERFMON_CNTL__RESERVED_MASK                = 0x0000c000L;
    constexpr unsigned int RLC_SPM_RMI_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_RMI_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_SC_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_SC_PERFMON_SAMPLE_DELAY__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_SEGMENT_THRESHOLD__NUM_SEGMENT_THRESHOLD_MASK = 0xffffffffL;
    constexpr unsigned int RLC_SPM_SE_MUXSEL_ADDR__PERFMON_SEL_ADDR_MASK      = 0xffffffffL;
    constexpr unsigned int RLC_SPM_SPI_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_SPI_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_SQG_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_SQG_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_SX_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_SX_PERFMON_SAMPLE_DELAY__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_TA_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_TA_PERFMON_SAMPLE_DELAY__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_TCA_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_TCA_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_TCC_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_TCC_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_TCP_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_TCP_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RLC_SPM_TD_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_TD_PERFMON_SAMPLE_DELAY__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_UTCL1_CNTL__FORCE_SD_VMID_DIRTY_MASK       = 0x20000000L;
    constexpr unsigned int RLC_SPM_VGT_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_VGT_PERFMON_SAMPLE_DELAY__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int RMI_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x0007fc00L;
    constexpr unsigned int RMI_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x0007fc00L;
    constexpr unsigned int RMI_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK           = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK           = 0x0007fc00L;
    constexpr unsigned int RMI_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x0007fc00L;
    constexpr unsigned int RMI_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int SDMA0_PERFCOUNTER0_RESULT__PERF_COUNT_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCOUNTER1_RESULT__PERF_COUNT_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCOUNTER_TAG_DELAY_RANGE__RANGE_HIGH_MASK = 0x0fffc000L;
    constexpr unsigned int SDMA0_PERFCOUNTER_TAG_DELAY_RANGE__RANGE_LOW_MASK  = 0x00003fffL;
    constexpr unsigned int SDMA0_PERFCOUNTER_TAG_DELAY_RANGE__SELECT_RW_MASK  = 0x10000000L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_CLEAR0_MASK               = 0x00000002L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_CLEAR1_MASK               = 0x00000800L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_ENABLE0_MASK              = 0x00000001L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_ENABLE1_MASK              = 0x00000400L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_SEL0_MASK                 = 0x000003fcL;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_SEL1_MASK                 = 0x000ff000L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__BATON_RESET_DISABLE_MASK        = 0x00000020L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__CRC_SIMD_ID_WADDR_DISABLE_MASK  = 0x00000100L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__LBPW_CU_CHK_MODE_MASK           = 0x00000200L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__PC_LIMIT_ENABLE_MASK            = 0x00000040L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__PC_LIMIT_SIZE_MASK              = 0xffff0000L;
    constexpr unsigned int SPI_CONFIG_CNTL__RSRC_MGMT_RESET_MASK              = 0x04000000L;
    constexpr unsigned int SPI_CONFIG_PS_CU_EN__ENABLE_MASK                   = 0x00000001L;
    constexpr unsigned int SPI_CONFIG_PS_CU_EN__PKR0_CU_EN_MASK               = 0x0000fffeL;
    constexpr unsigned int SPI_CONFIG_PS_CU_EN__PKR1_CU_EN_MASK               = 0xffff0000L;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_4__COUNT_MASK              = 0x000007ffL;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_4__EVENTS_MASK             = 0x07ff0000L;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_5__COUNT_MASK              = 0x000007ffL;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_5__EVENTS_MASK             = 0x07ff0000L;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_6__COUNT_MASK              = 0x000007ffL;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_6__EVENTS_MASK             = 0x07ff0000L;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_7__COUNT_MASK              = 0x000007ffL;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_7__EVENTS_MASK             = 0x07ff0000L;
    constexpr unsigned int SPI_DSM_CNTL2__SPI_SR_MEM_INJECT_DELAY_MASK        = 0x000003f0L;
    constexpr unsigned int SPI_DSM_CNTL2__UNUSED_MASK                         = 0xfffffc00L;
    constexpr unsigned int SPI_DSM_CNTL__UNUSED_MASK                          = 0xfffffff8L;
    constexpr unsigned int SPI_GDS_CREDITS__UNUSED_MASK                       = 0xffff0000L;
    constexpr unsigned int SPI_LB_CU_MASK__CU_MASK_MASK                       = 0x0000ffffL;
    constexpr unsigned int SPI_LB_DATA_PERCU_WAVE_CS__ACTIVE_MASK             = 0x0000ffffL;
    constexpr unsigned int SPI_LB_DATA_PERCU_WAVE_HSGS__CU_USED_GS_MASK       = 0xffff0000L;
    constexpr unsigned int SPI_LB_DATA_PERCU_WAVE_HSGS__CU_USED_HS_MASK       = 0x0000ffffL;
    constexpr unsigned int SPI_LB_DATA_PERCU_WAVE_VSPS__CU_USED_PS_MASK       = 0xffff0000L;
    constexpr unsigned int SPI_LB_DATA_PERCU_WAVE_VSPS__CU_USED_VS_MASK       = 0x0000ffffL;
    constexpr unsigned int SPI_PERFCOUNTER4_SELECT__PERF_SEL_MASK             = 0x000000ffL;
    constexpr unsigned int SPI_PERFCOUNTER5_SELECT__PERF_SEL_MASK             = 0x000000ffL;
    constexpr unsigned int SPI_PG_ENABLE_STATIC_CU_MASK__CU_MASK_MASK         = 0x0000ffffL;
    constexpr unsigned int SPI_PS_INPUT_CNTL_0__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_1__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_2__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_3__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_4__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_5__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_6__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_7__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_8__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_9__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_10__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_11__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_12__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_13__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_14__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_15__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_16__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_17__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_18__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_19__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_0__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_1__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_2__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_3__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_4__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_5__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_10__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_11__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_12__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_13__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_14__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_15__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_SHADER_PGM_HI_GS__MEM_BASE_MASK                = 0x000000ffL;
    constexpr unsigned int SPI_SHADER_PGM_HI_HS__MEM_BASE_MASK                = 0x000000ffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__SKIP_USGPR0_MASK          = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__USER_SGPR_MSB_MASK        = 0x10000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__EXCP_EN_MASK              = 0x0000ff80L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__LDS_SIZE_MASK             = 0x01ff0000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__SKIP_USGPR0_MASK          = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__USER_SGPR_MSB_MASK        = 0x10000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__SKIP_USGPR0_MASK          = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__USER_SGPR_MSB_MASK        = 0x10000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__DISPATCH_DRAW_EN_MASK     = 0x01000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__SKIP_USGPR0_MASK          = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__USER_SGPR_MSB_MASK        = 0x10000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_GS__SIMD_DISABLE_MASK         = 0x3c000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_HS__SIMD_DISABLE_MASK         = 0x00003c00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_PS__LOCK_LOW_THRESHOLD_MASK   = 0x03c00000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_PS__SIMD_DISABLE_MASK         = 0x3c000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_VS__SIMD_DISABLE_MASK         = 0x3c000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC4_GS__GROUP_FIFO_DEPTH_MASK     = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC4_GS__SPI_SHADER_LATE_ALLOC_GS_MASK = 0x00003f80L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC4_HS__GROUP_FIFO_DEPTH_MASK     = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_0__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_1__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_2__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_3__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_4__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_5__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_6__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_7__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_8__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_9__DATA_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_10__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_11__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_12__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_13__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_14__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_15__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_16__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_17__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_18__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_19__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_20__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_21__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_22__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_23__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_24__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_25__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_26__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_27__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_28__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_29__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_30__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_COMMON_31__DATA_MASK          = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_0__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_1__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_2__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_3__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_4__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_5__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_6__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_7__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_8__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_9__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_10__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_11__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_12__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_13__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_14__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_15__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_16__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_17__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_18__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_19__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_20__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_21__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_22__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_23__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_24__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_25__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_26__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_27__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_28__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_29__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_30__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_31__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_0__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_1__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_2__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_3__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_4__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_5__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_6__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_7__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_8__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_9__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_10__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_11__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_12__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_13__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_14__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_15__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_16__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_17__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_18__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_19__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_20__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_21__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_22__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_23__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_24__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_25__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_26__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_27__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_28__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_29__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_30__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_31__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_START_PHASE__SGPR_START_PHASE_MASK             = 0x0000000cL;
    constexpr unsigned int SPI_START_PHASE__VGPR_START_PHASE_MASK             = 0x00000003L;
    constexpr unsigned int SPI_START_PHASE__WAVE_START_PHASE_MASK             = 0x00000030L;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_GFX__ES_GRP_VALUE_MASK        = 0x003e0000L;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_GFX__LS_GRP_VALUE_MASK        = 0x00000f80L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_6__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_6__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_7__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_7__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_8__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_8__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_9__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_9__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_3__INT_SENT_MASK            = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_3__MAX_CNT_MASK             = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_5__INT_SENT_MASK            = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_5__MAX_CNT_MASK             = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_10__INT_SENT_MASK           = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_10__MAX_CNT_MASK            = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_12__INT_SENT_MASK           = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_12__MAX_CNT_MASK            = 0x7fffffffL;
    constexpr unsigned int SQ_ALU_CLK_CTRL__FORCE_CU_ON_SH0_MASK              = 0x0000ffffL;
    constexpr unsigned int SQ_ALU_CLK_CTRL__FORCE_CU_ON_SH1_MASK              = 0xffff0000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD0__BASE_ADDRESS_MASK               = 0xffffffffL;
    constexpr unsigned int SQ_BUF_RSRC_WORD1__BASE_ADDRESS_HI_MASK            = 0x0000ffffL;
    constexpr unsigned int SQ_BUF_RSRC_WORD1__CACHE_SWIZZLE_MASK              = 0x40000000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD1__STRIDE_MASK                     = 0x3fff0000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD1__SWIZZLE_ENABLE_MASK             = 0x80000000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD2__NUM_RECORDS_MASK                = 0xffffffffL;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__ADD_TID_ENABLE_MASK             = 0x00800000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__DATA_FORMAT_MASK                = 0x00078000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__DST_SEL_W_MASK                  = 0x00000e00L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__DST_SEL_X_MASK                  = 0x00000007L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__DST_SEL_Y_MASK                  = 0x00000038L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__DST_SEL_Z_MASK                  = 0x000001c0L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__INDEX_STRIDE_MASK               = 0x00600000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__NUM_FORMAT_MASK                 = 0x00007000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__NV_MASK                         = 0x08000000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__TYPE_MASK                       = 0xc0000000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__USER_VM_ENABLE_MASK             = 0x00080000L;
    constexpr unsigned int SQ_BUF_RSRC_WORD3__USER_VM_MODE_MASK               = 0x00100000L;
    constexpr unsigned int SQ_CMD_TIMESTAMP__TIMESTAMP_MASK                   = 0x000000ffL;
    constexpr unsigned int SQ_CMD__CMD_MASK                                   = 0x00000007L;
    constexpr unsigned int SQ_CMD__SIMD_ID_MASK                               = 0x00300000L;
    constexpr unsigned int SQ_CMD__WAVE_ID_MASK                               = 0x000f0000L;
    constexpr unsigned int SQ_CONFIG__DEBUG_EN_MASK                           = 0x00000100L;
    constexpr unsigned int SQ_CONFIG__DEBUG_ONE_INST_CLAUSE_MASK              = 0x00000400L;
    constexpr unsigned int SQ_CONFIG__DEBUG_SINGLE_MEMOP_MASK                 = 0x00000200L;
    constexpr unsigned int SQ_CONFIG__DISABLE_FLAT_SOFT_CLAUSE_MASK           = 0x40000000L;
    constexpr unsigned int SQ_CONFIG__DISABLE_MIMG_SOFT_CLAUSE_MASK           = 0x80000000L;
    constexpr unsigned int SQ_CONFIG__DISABLE_SMEM_SOFT_CLAUSE_MASK           = 0x00020000L;
    constexpr unsigned int SQ_CONFIG__DISABLE_SP_VGPR_WRITE_SKIP_MASK         = 0x10000000L;
    constexpr unsigned int SQ_CONFIG__DISABLE_VMEM_SOFT_CLAUSE_MASK           = 0x00010000L;
    constexpr unsigned int SQ_CONFIG__DUA_FLAT_LDS_PINGPONG_DISABLE_MASK      = 0x00008000L;
    constexpr unsigned int SQ_CONFIG__DUA_FLAT_LOCK_ENABLE_MASK               = 0x00002000L;
    constexpr unsigned int SQ_CONFIG__DUA_LDS_BYPASS_DISABLE_MASK             = 0x00004000L;
    constexpr unsigned int SQ_CONFIG__EARLY_TA_DONE_DISABLE_MASK              = 0x00001000L;
    constexpr unsigned int SQ_CONFIG__OVERRIDE_ALU_BUSY_MASK                  = 0x00000080L;
    constexpr unsigned int SQ_CONFIG__OVERRIDE_LDS_IDX_BUSY_MASK              = 0x00000800L;
    constexpr unsigned int SQ_CONFIG__REPLAY_SLEEP_CNT_MASK                   = 0x0fe00000L;
    constexpr unsigned int SQ_DS_0__ENCODING_MASK                             = 0xfc000000L;
    constexpr unsigned int SQ_DS_0__GDS_MASK                                  = 0x00010000L;
    constexpr unsigned int SQ_DS_0__OFFSET0_MASK                              = 0x000000ffL;
    constexpr unsigned int SQ_DS_0__OFFSET1_MASK                              = 0x0000ff00L;
    constexpr unsigned int SQ_DS_0__OP_MASK                                   = 0x01fe0000L;
    constexpr unsigned int SQ_DS_1__ADDR_MASK                                 = 0x000000ffL;
    constexpr unsigned int SQ_DS_1__DATA0_MASK                                = 0x0000ff00L;
    constexpr unsigned int SQ_DS_1__DATA1_MASK                                = 0x00ff0000L;
    constexpr unsigned int SQ_DS_1__VDST_MASK                                 = 0xff000000L;
    constexpr unsigned int SQ_EDC_CNT__LDS_D_DED_COUNT_MASK                   = 0x0000000cL;
    constexpr unsigned int SQ_EDC_CNT__LDS_D_SEC_COUNT_MASK                   = 0x00000003L;
    constexpr unsigned int SQ_EDC_CNT__LDS_I_DED_COUNT_MASK                   = 0x000000c0L;
    constexpr unsigned int SQ_EDC_CNT__LDS_I_SEC_COUNT_MASK                   = 0x00000030L;
    constexpr unsigned int SQ_EDC_CNT__SGPR_DED_COUNT_MASK                    = 0x00000c00L;
    constexpr unsigned int SQ_EDC_CNT__SGPR_SEC_COUNT_MASK                    = 0x00000300L;
    constexpr unsigned int SQ_EDC_CNT__VGPR0_DED_COUNT_MASK                   = 0x0000c000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR0_SEC_COUNT_MASK                   = 0x00003000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR1_DED_COUNT_MASK                   = 0x000c0000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR1_SEC_COUNT_MASK                   = 0x00030000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR2_DED_COUNT_MASK                   = 0x00c00000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR2_SEC_COUNT_MASK                   = 0x00300000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR3_DED_COUNT_MASK                   = 0x0c000000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR3_SEC_COUNT_MASK                   = 0x03000000L;
    constexpr unsigned int SQ_EDC_DED_CNT__LDS_DED_MASK                       = 0x000000ffL;
    constexpr unsigned int SQ_EDC_DED_CNT__SGPR_DED_MASK                      = 0x0000ff00L;
    constexpr unsigned int SQ_EDC_DED_CNT__VGPR_DED_MASK                      = 0x00ff0000L;
    constexpr unsigned int SQ_EDC_FUE_CNTL__BLOCK_FUE_FLAGS_MASK              = 0x0000ffffL;
    constexpr unsigned int SQ_EDC_FUE_CNTL__FUE_INTERRUPT_ENABLES_MASK        = 0xffff0000L;
    constexpr unsigned int SQ_EDC_INFO__SIMD_ID_MASK                          = 0x00000030L;
    constexpr unsigned int SQ_EDC_INFO__SOURCE_MASK                           = 0x000001c0L;
    constexpr unsigned int SQ_EDC_INFO__VM_ID_MASK                            = 0x00001e00L;
    constexpr unsigned int SQ_EDC_INFO__WAVE_ID_MASK                          = 0x0000000fL;
    constexpr unsigned int SQ_EDC_SEC_CNT__LDS_SEC_MASK                       = 0x000000ffL;
    constexpr unsigned int SQ_EDC_SEC_CNT__SGPR_SEC_MASK                      = 0x0000ff00L;
    constexpr unsigned int SQ_EDC_SEC_CNT__VGPR_SEC_MASK                      = 0x00ff0000L;
    constexpr unsigned int SQ_EXP_0__COMPR_MASK                               = 0x00000400L;
    constexpr unsigned int SQ_EXP_0__DONE_MASK                                = 0x00000800L;
    constexpr unsigned int SQ_EXP_0__ENCODING_MASK                            = 0xfc000000L;
    constexpr unsigned int SQ_EXP_0__EN_MASK                                  = 0x0000000fL;
    constexpr unsigned int SQ_EXP_0__TGT_MASK                                 = 0x000003f0L;
    constexpr unsigned int SQ_EXP_0__VM_MASK                                  = 0x00001000L;
    constexpr unsigned int SQ_EXP_1__VSRC0_MASK                               = 0x000000ffL;
    constexpr unsigned int SQ_EXP_1__VSRC1_MASK                               = 0x0000ff00L;
    constexpr unsigned int SQ_EXP_1__VSRC2_MASK                               = 0x00ff0000L;
    constexpr unsigned int SQ_EXP_1__VSRC3_MASK                               = 0xff000000L;
    constexpr unsigned int SQ_FIFO_SIZES__EXPORT_BUF_SIZE_MASK                = 0x00030000L;
    constexpr unsigned int SQ_FIFO_SIZES__TTRACE_FIFO_SIZE_MASK               = 0x00000f00L;
    constexpr unsigned int SQ_FLAT_0__ENCODING_MASK                           = 0xfc000000L;
    constexpr unsigned int SQ_FLAT_0__GLC_MASK                                = 0x00010000L;
    constexpr unsigned int SQ_FLAT_0__LDS_MASK                                = 0x00002000L;
    constexpr unsigned int SQ_FLAT_0__OFFSET_MASK                             = 0x00000fffL;
    constexpr unsigned int SQ_FLAT_0__OP_MASK                                 = 0x01fc0000L;
    constexpr unsigned int SQ_FLAT_0__SEG_MASK                                = 0x0000c000L;
    constexpr unsigned int SQ_FLAT_0__SLC_MASK                                = 0x00020000L;
    constexpr unsigned int SQ_FLAT_1__ADDR_MASK                               = 0x000000ffL;
    constexpr unsigned int SQ_FLAT_1__DATA_MASK                               = 0x0000ff00L;
    constexpr unsigned int SQ_FLAT_1__NV_MASK                                 = 0x00800000L;
    constexpr unsigned int SQ_FLAT_1__SADDR_MASK                              = 0x007f0000L;
    constexpr unsigned int SQ_FLAT_1__VDST_MASK                               = 0xff000000L;
    constexpr unsigned int SQ_FLAT_SCRATCH_WORD0__SIZE_MASK                   = 0x0007ffffL;
    constexpr unsigned int SQ_FLAT_SCRATCH_WORD1__OFFSET_MASK                 = 0x00ffffffL;
    constexpr unsigned int SQ_GLBL_0__ENCODING_MASK                           = 0xfc000000L;
    constexpr unsigned int SQ_GLBL_0__GLC_MASK                                = 0x00010000L;
    constexpr unsigned int SQ_GLBL_0__LDS_MASK                                = 0x00002000L;
    constexpr unsigned int SQ_GLBL_0__OFFSET_MASK                             = 0x00001fffL;
    constexpr unsigned int SQ_GLBL_0__OP_MASK                                 = 0x01fc0000L;
    constexpr unsigned int SQ_GLBL_0__SEG_MASK                                = 0x0000c000L;
    constexpr unsigned int SQ_GLBL_0__SLC_MASK                                = 0x00020000L;
    constexpr unsigned int SQ_GLBL_1__ADDR_MASK                               = 0x000000ffL;
    constexpr unsigned int SQ_GLBL_1__DATA_MASK                               = 0x0000ff00L;
    constexpr unsigned int SQ_GLBL_1__NV_MASK                                 = 0x00800000L;
    constexpr unsigned int SQ_GLBL_1__SADDR_MASK                              = 0x007f0000L;
    constexpr unsigned int SQ_GLBL_1__VDST_MASK                               = 0xff000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD0__BASE_ADDRESS_MASK               = 0xffffffffL;
    constexpr unsigned int SQ_IMG_RSRC_WORD1__BASE_ADDRESS_HI_MASK            = 0x000000ffL;
    constexpr unsigned int SQ_IMG_RSRC_WORD1__DATA_FORMAT_MASK                = 0x03f00000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD1__META_DIRECT_MASK                = 0x80000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD1__MIN_LOD_MASK                    = 0x000fff00L;
    constexpr unsigned int SQ_IMG_RSRC_WORD1__NUM_FORMAT_MASK                 = 0x3c000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD1__NV_MASK                         = 0x40000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD2__HEIGHT_MASK                     = 0x0fffc000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD2__PERF_MOD_MASK                   = 0x70000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD2__WIDTH_MASK                      = 0x00003fffL;
    constexpr unsigned int SQ_IMG_RSRC_WORD3__BASE_LEVEL_MASK                 = 0x0000f000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD3__DST_SEL_W_MASK                  = 0x00000e00L;
    constexpr unsigned int SQ_IMG_RSRC_WORD3__DST_SEL_X_MASK                  = 0x00000007L;
    constexpr unsigned int SQ_IMG_RSRC_WORD3__DST_SEL_Y_MASK                  = 0x00000038L;
    constexpr unsigned int SQ_IMG_RSRC_WORD3__DST_SEL_Z_MASK                  = 0x000001c0L;
    constexpr unsigned int SQ_IMG_RSRC_WORD3__LAST_LEVEL_MASK                 = 0x000f0000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD3__SW_MODE_MASK                    = 0x01f00000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD3__TYPE_MASK                       = 0xf0000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD4__BC_SWIZZLE_MASK                 = 0xe0000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD4__DEPTH_MASK                      = 0x00001fffL;
    constexpr unsigned int SQ_IMG_RSRC_WORD4__PITCH_MASK                      = 0x1fffe000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD5__ARRAY_PITCH_MASK                = 0x0001e000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD5__BASE_ARRAY_MASK                 = 0x00001fffL;
    constexpr unsigned int SQ_IMG_RSRC_WORD5__MAX_MIP_MASK                    = 0xf0000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD5__META_DATA_ADDRESS_MASK          = 0x01fe0000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD5__META_LINEAR_MASK                = 0x02000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD5__META_PIPE_ALIGNED_MASK          = 0x04000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD5__META_RB_ALIGNED_MASK            = 0x08000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD6__ALPHA_IS_ON_MSB_MASK            = 0x00400000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD6__COLOR_TRANSFORM_MASK            = 0x00800000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD6__COMPRESSION_EN_MASK             = 0x00200000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD6__COUNTER_BANK_ID_MASK            = 0x000ff000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD6__LOD_HDW_CNT_EN_MASK             = 0x00100000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD6__LOST_ALPHA_BITS_MASK            = 0x0f000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD6__LOST_COLOR_BITS_MASK            = 0xf0000000L;
    constexpr unsigned int SQ_IMG_RSRC_WORD6__MIN_LOD_WARN_MASK               = 0x00000fffL;
    constexpr unsigned int SQ_IMG_RSRC_WORD7__META_DATA_ADDRESS_MASK          = 0xffffffffL;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__ANISO_BIAS_MASK                 = 0x07e00000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__ANISO_THRESHOLD_MASK            = 0x00070000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__CLAMP_X_MASK                    = 0x00000007L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__CLAMP_Y_MASK                    = 0x00000038L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__CLAMP_Z_MASK                    = 0x000001c0L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__COMPAT_MODE_MASK                = 0x80000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__DEPTH_COMPARE_FUNC_MASK         = 0x00007000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__DISABLE_CUBE_WRAP_MASK          = 0x10000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__FILTER_MODE_MASK                = 0x60000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__FORCE_DEGAMMA_MASK              = 0x00100000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__FORCE_UNNORMALIZED_MASK         = 0x00008000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__MAX_ANISO_RATIO_MASK            = 0x00000e00L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__MC_COORD_TRUNC_MASK             = 0x00080000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD0__TRUNC_COORD_MASK                = 0x08000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD1__MAX_LOD_MASK                    = 0x00fff000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD1__MIN_LOD_MASK                    = 0x00000fffL;
    constexpr unsigned int SQ_IMG_SAMP_WORD1__PERF_MIP_MASK                   = 0x0f000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD1__PERF_Z_MASK                     = 0xf0000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__ANISO_OVERRIDE_MASK             = 0x80000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__BLEND_ZERO_PRT_MASK             = 0x20000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__FILTER_PREC_FIX_MASK            = 0x40000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__LOD_BIAS_MASK                   = 0x00003fffL;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__LOD_BIAS_SEC_MASK               = 0x000fc000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__MIP_FILTER_MASK                 = 0x0c000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__MIP_POINT_PRECLAMP_MASK         = 0x10000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__XY_MAG_FILTER_MASK              = 0x00300000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__XY_MIN_FILTER_MASK              = 0x00c00000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD2__Z_FILTER_MASK                   = 0x03000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD3__BORDER_COLOR_PTR_MASK           = 0x00000fffL;
    constexpr unsigned int SQ_IMG_SAMP_WORD3__BORDER_COLOR_TYPE_MASK          = 0xc0000000L;
    constexpr unsigned int SQ_IMG_SAMP_WORD3__SKIP_DEGAMMA_MASK               = 0x00001000L;
    constexpr unsigned int SQ_IND_INDEX__AUTO_INCR_MASK                       = 0x00001000L;
    constexpr unsigned int SQ_IND_INDEX__FORCE_READ_MASK                      = 0x00002000L;
    constexpr unsigned int SQ_IND_INDEX__READ_TIMEOUT_MASK                    = 0x00004000L;
    constexpr unsigned int SQ_IND_INDEX__SIMD_ID_MASK                         = 0x00000030L;
    constexpr unsigned int SQ_IND_INDEX__THREAD_ID_MASK                       = 0x00000fc0L;
    constexpr unsigned int SQ_IND_INDEX__UNINDEXED_MASK                       = 0x00008000L;
    constexpr unsigned int SQ_IND_INDEX__WAVE_ID_MASK                         = 0x0000000fL;
    constexpr unsigned int SQ_INST__ENCODING_MASK                             = 0xffffffffL;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__CMD_TIMESTAMP_MASK   = 0x00000010L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__ENCODING_MASK        = 0x0c000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__HOST_CMD_OVERFLOW_MASK = 0x00000020L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__HOST_REG_OVERFLOW_MASK = 0x00000040L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__IMMED_OVERFLOW_MASK  = 0x00000080L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__REG_TIMESTAMP_MASK   = 0x00000008L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__SE_ID_MASK           = 0x03000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__THREAD_TRACE_BUF_FULL_MASK = 0x00000004L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__THREAD_TRACE_MASK    = 0x00000001L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__THREAD_TRACE_UTC_ERROR_MASK = 0x00000100L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_CTXID__WLT_MASK             = 0x00000002L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_HI__ENCODING_MASK           = 0x00000c00L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_HI__SE_ID_MASK              = 0x00000300L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__CMD_TIMESTAMP_MASK      = 0x00000010L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__HOST_CMD_OVERFLOW_MASK  = 0x00000020L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__HOST_REG_OVERFLOW_MASK  = 0x00000040L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__IMMED_OVERFLOW_MASK     = 0x00000080L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__REG_TIMESTAMP_MASK      = 0x00000008L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__THREAD_TRACE_BUF_FULL_MASK = 0x00000004L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__THREAD_TRACE_MASK       = 0x00000001L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__THREAD_TRACE_UTC_ERROR_MASK = 0x00000100L;
    constexpr unsigned int SQ_INTERRUPT_WORD_AUTO_LO__WLT_MASK                = 0x00000002L;
    constexpr unsigned int SQ_INTERRUPT_WORD_CMN_CTXID__ENCODING_MASK         = 0x0c000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_CMN_CTXID__SE_ID_MASK            = 0x03000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_CMN_HI__ENCODING_MASK            = 0x00000c00L;
    constexpr unsigned int SQ_INTERRUPT_WORD_CMN_HI__SE_ID_MASK               = 0x00000300L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_CTXID__CU_ID_MASK           = 0x00f00000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_CTXID__DATA_MASK            = 0x00000fffL;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_CTXID__ENCODING_MASK        = 0x0c000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_CTXID__PRIV_MASK            = 0x00002000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_CTXID__SE_ID_MASK           = 0x03000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_CTXID__SH_ID_MASK           = 0x00001000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_CTXID__SIMD_ID_MASK         = 0x000c0000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_CTXID__WAVE_ID_MASK         = 0x0003c000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_HI__CU_ID_MASK              = 0x0000000fL;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_HI__ENCODING_MASK           = 0x00000c00L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_HI__SE_ID_MASK              = 0x00000300L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_HI__VM_ID_MASK              = 0x000000f0L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_LO__DATA_MASK               = 0x00ffffffL;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_LO__PRIV_MASK               = 0x02000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_LO__SH_ID_MASK              = 0x01000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_LO__SIMD_ID_MASK            = 0xc0000000L;
    constexpr unsigned int SQ_INTERRUPT_WORD_WAVE_LO__WAVE_ID_MASK            = 0x3c000000L;
    constexpr unsigned int SQ_LB_CTR0_CU__SH0_MASK_MASK                       = 0x0000ffffL;
    constexpr unsigned int SQ_LB_CTR0_CU__SH1_MASK_MASK                       = 0xffff0000L;
    constexpr unsigned int SQ_LB_CTR1_CU__SH0_MASK_MASK                       = 0x0000ffffL;
    constexpr unsigned int SQ_LB_CTR1_CU__SH1_MASK_MASK                       = 0xffff0000L;
    constexpr unsigned int SQ_LB_CTR2_CU__SH0_MASK_MASK                       = 0x0000ffffL;
    constexpr unsigned int SQ_LB_CTR2_CU__SH1_MASK_MASK                       = 0xffff0000L;
    constexpr unsigned int SQ_LB_CTR3_CU__SH0_MASK_MASK                       = 0x0000ffffL;
    constexpr unsigned int SQ_LB_CTR3_CU__SH1_MASK_MASK                       = 0xffff0000L;
    constexpr unsigned int SQ_LB_CTR_SEL__SEL0_MASK                           = 0x0000000fL;
    constexpr unsigned int SQ_LB_CTR_SEL__SEL1_MASK                           = 0x000000f0L;
    constexpr unsigned int SQ_LB_CTR_SEL__SEL2_MASK                           = 0x00000f00L;
    constexpr unsigned int SQ_LB_CTR_SEL__SEL3_MASK                           = 0x0000f000L;
    constexpr unsigned int SQ_LDS_CLK_CTRL__FORCE_CU_ON_SH0_MASK              = 0x0000ffffL;
    constexpr unsigned int SQ_LDS_CLK_CTRL__FORCE_CU_ON_SH1_MASK              = 0xffff0000L;
    constexpr unsigned int SQ_M0_GPR_IDX_WORD__INDEX_MASK                     = 0x000000ffL;
    constexpr unsigned int SQ_M0_GPR_IDX_WORD__VDST_REL_MASK                  = 0x00008000L;
    constexpr unsigned int SQ_M0_GPR_IDX_WORD__VSRC0_REL_MASK                 = 0x00001000L;
    constexpr unsigned int SQ_M0_GPR_IDX_WORD__VSRC1_REL_MASK                 = 0x00002000L;
    constexpr unsigned int SQ_M0_GPR_IDX_WORD__VSRC2_REL_MASK                 = 0x00004000L;
    constexpr unsigned int SQ_MIMG_0__A16_MASK                                = 0x00008000L;
    constexpr unsigned int SQ_MIMG_0__DA_MASK                                 = 0x00004000L;
    constexpr unsigned int SQ_MIMG_0__DMASK_MASK                              = 0x00000f00L;
    constexpr unsigned int SQ_MIMG_0__ENCODING_MASK                           = 0xfc000000L;
    constexpr unsigned int SQ_MIMG_0__GLC_MASK                                = 0x00002000L;
    constexpr unsigned int SQ_MIMG_0__LWE_MASK                                = 0x00020000L;
    constexpr unsigned int SQ_MIMG_0__OPM_MASK                                = 0x00000001L;
    constexpr unsigned int SQ_MIMG_0__OP_MASK                                 = 0x01fc0000L;
    constexpr unsigned int SQ_MIMG_0__SLC_MASK                                = 0x02000000L;
    constexpr unsigned int SQ_MIMG_0__TFE_MASK                                = 0x00010000L;
    constexpr unsigned int SQ_MIMG_0__UNORM_MASK                              = 0x00001000L;
    constexpr unsigned int SQ_MIMG_1__D16_MASK                                = 0x80000000L;
    constexpr unsigned int SQ_MIMG_1__SRSRC_MASK                              = 0x001f0000L;
    constexpr unsigned int SQ_MIMG_1__SSAMP_MASK                              = 0x03e00000L;
    constexpr unsigned int SQ_MIMG_1__VADDR_MASK                              = 0x000000ffL;
    constexpr unsigned int SQ_MIMG_1__VDATA_MASK                              = 0x0000ff00L;
    constexpr unsigned int SQ_MTBUF_0__DFMT_MASK                              = 0x00780000L;
    constexpr unsigned int SQ_MTBUF_0__ENCODING_MASK                          = 0xfc000000L;
    constexpr unsigned int SQ_MTBUF_0__GLC_MASK                               = 0x00004000L;
    constexpr unsigned int SQ_MTBUF_0__IDXEN_MASK                             = 0x00002000L;
    constexpr unsigned int SQ_MTBUF_0__NFMT_MASK                              = 0x03800000L;
    constexpr unsigned int SQ_MTBUF_0__OFFEN_MASK                             = 0x00001000L;
    constexpr unsigned int SQ_MTBUF_0__OFFSET_MASK                            = 0x00000fffL;
    constexpr unsigned int SQ_MTBUF_0__OP_MASK                                = 0x00078000L;
    constexpr unsigned int SQ_MTBUF_1__SLC_MASK                               = 0x00400000L;
    constexpr unsigned int SQ_MTBUF_1__SOFFSET_MASK                           = 0xff000000L;
    constexpr unsigned int SQ_MTBUF_1__SRSRC_MASK                             = 0x001f0000L;
    constexpr unsigned int SQ_MTBUF_1__TFE_MASK                               = 0x00800000L;
    constexpr unsigned int SQ_MTBUF_1__VADDR_MASK                             = 0x000000ffL;
    constexpr unsigned int SQ_MTBUF_1__VDATA_MASK                             = 0x0000ff00L;
    constexpr unsigned int SQ_MUBUF_0__ENCODING_MASK                          = 0xfc000000L;
    constexpr unsigned int SQ_MUBUF_0__GLC_MASK                               = 0x00004000L;
    constexpr unsigned int SQ_MUBUF_0__IDXEN_MASK                             = 0x00002000L;
    constexpr unsigned int SQ_MUBUF_0__LDS_MASK                               = 0x00010000L;
    constexpr unsigned int SQ_MUBUF_0__OFFEN_MASK                             = 0x00001000L;
    constexpr unsigned int SQ_MUBUF_0__OFFSET_MASK                            = 0x00000fffL;
    constexpr unsigned int SQ_MUBUF_0__OP_MASK                                = 0x01fc0000L;
    constexpr unsigned int SQ_MUBUF_0__SLC_MASK                               = 0x00020000L;
    constexpr unsigned int SQ_MUBUF_1__SOFFSET_MASK                           = 0xff000000L;
    constexpr unsigned int SQ_MUBUF_1__SRSRC_MASK                             = 0x001f0000L;
    constexpr unsigned int SQ_MUBUF_1__TFE_MASK                               = 0x00800000L;
    constexpr unsigned int SQ_MUBUF_1__VADDR_MASK                             = 0x000000ffL;
    constexpr unsigned int SQ_MUBUF_1__VDATA_MASK                             = 0x0000ff00L;
    constexpr unsigned int SQ_PERFCOUNTER0_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER0_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER0_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER1_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER1_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER1_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER2_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER2_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER2_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER3_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER3_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER3_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER4_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER4_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER4_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER5_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER5_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER5_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER6_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER6_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER6_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER7_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER7_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER7_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER8_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER8_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER8_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER9_SELECT__SIMD_MASK_MASK             = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER9_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER9_SELECT__SQC_CLIENT_MASK_MASK       = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER10_SELECT__SIMD_MASK_MASK            = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER10_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER10_SELECT__SQC_CLIENT_MASK_MASK      = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER11_SELECT__SIMD_MASK_MASK            = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER11_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER11_SELECT__SQC_CLIENT_MASK_MASK      = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER12_SELECT__SIMD_MASK_MASK            = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER12_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER12_SELECT__SQC_CLIENT_MASK_MASK      = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER13_SELECT__SIMD_MASK_MASK            = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER13_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER13_SELECT__SQC_CLIENT_MASK_MASK      = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER14_SELECT__SIMD_MASK_MASK            = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER14_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER14_SELECT__SQC_CLIENT_MASK_MASK      = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER15_SELECT__SIMD_MASK_MASK            = 0x0f000000L;
    constexpr unsigned int SQ_PERFCOUNTER15_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER15_SELECT__SQC_CLIENT_MASK_MASK      = 0x000f0000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__CNTR_RATE_MASK                = 0x00001f00L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__ES_EN_MASK                    = 0x00000008L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__LS_EN_MASK                    = 0x00000020L;
    constexpr unsigned int SQ_PERFCOUNTER_MASK__SH0_MASK_MASK                 = 0x0000ffffL;
    constexpr unsigned int SQ_PERFCOUNTER_MASK__SH1_MASK_MASK                 = 0xffff0000L;
    constexpr unsigned int SQ_POWER_THROTTLE2__LONG_TERM_INTERVAL_RATIO_MASK  = 0x78000000L;
    constexpr unsigned int SQ_POWER_THROTTLE2__MAX_POWER_DELTA_MASK           = 0x00003fffL;
    constexpr unsigned int SQ_POWER_THROTTLE2__SHORT_TERM_INTERVAL_SIZE_MASK  = 0x03ff0000L;
    constexpr unsigned int SQ_POWER_THROTTLE2__USE_REF_CLOCK_MASK             = 0x80000000L;
    constexpr unsigned int SQ_POWER_THROTTLE__MAX_POWER_MASK                  = 0x3fff0000L;
    constexpr unsigned int SQ_POWER_THROTTLE__MIN_POWER_MASK                  = 0x00003fffL;
    constexpr unsigned int SQ_POWER_THROTTLE__PHASE_OFFSET_MASK               = 0xc0000000L;
    constexpr unsigned int SQ_RANDOM_WAVE_PRI__RNG_MASK                       = 0x007ffc00L;
    constexpr unsigned int SQ_REG_CREDITS__CMD_CREDITS_MASK                   = 0x00000f00L;
    constexpr unsigned int SQ_REG_CREDITS__CMD_OVERFLOW_MASK                  = 0x80000000L;
    constexpr unsigned int SQ_REG_CREDITS__IMMED_OVERFLOW_MASK                = 0x40000000L;
    constexpr unsigned int SQ_REG_CREDITS__REG_BUSY_MASK                      = 0x10000000L;
    constexpr unsigned int SQ_REG_CREDITS__SRBM_CREDITS_MASK                  = 0x0000003fL;
    constexpr unsigned int SQ_REG_CREDITS__SRBM_OVERFLOW_MASK                 = 0x20000000L;
    constexpr unsigned int SQ_REG_TIMESTAMP__TIMESTAMP_MASK                   = 0x000000ffL;
    constexpr unsigned int SQ_RUNTIME_CONFIG__ENABLE_TEX_ARB_OLDEST_MASK      = 0x00000001L;
    constexpr unsigned int SQ_SCRATCH_0__ENCODING_MASK                        = 0xfc000000L;
    constexpr unsigned int SQ_SCRATCH_0__GLC_MASK                             = 0x00010000L;
    constexpr unsigned int SQ_SCRATCH_0__LDS_MASK                             = 0x00002000L;
    constexpr unsigned int SQ_SCRATCH_0__OFFSET_MASK                          = 0x00001fffL;
    constexpr unsigned int SQ_SCRATCH_0__OP_MASK                              = 0x01fc0000L;
    constexpr unsigned int SQ_SCRATCH_0__SEG_MASK                             = 0x0000c000L;
    constexpr unsigned int SQ_SCRATCH_0__SLC_MASK                             = 0x00020000L;
    constexpr unsigned int SQ_SCRATCH_1__ADDR_MASK                            = 0x000000ffL;
    constexpr unsigned int SQ_SCRATCH_1__DATA_MASK                            = 0x0000ff00L;
    constexpr unsigned int SQ_SCRATCH_1__NV_MASK                              = 0x00800000L;
    constexpr unsigned int SQ_SCRATCH_1__SADDR_MASK                           = 0x007f0000L;
    constexpr unsigned int SQ_SCRATCH_1__VDST_MASK                            = 0xff000000L;
    constexpr unsigned int SQ_SMEM_0__ENCODING_MASK                           = 0xfc000000L;
    constexpr unsigned int SQ_SMEM_0__GLC_MASK                                = 0x00010000L;
    constexpr unsigned int SQ_SMEM_0__IMM_MASK                                = 0x00020000L;
    constexpr unsigned int SQ_SMEM_0__NV_MASK                                 = 0x00008000L;
    constexpr unsigned int SQ_SMEM_0__OP_MASK                                 = 0x03fc0000L;
    constexpr unsigned int SQ_SMEM_0__SBASE_MASK                              = 0x0000003fL;
    constexpr unsigned int SQ_SMEM_0__SDATA_MASK                              = 0x00001fc0L;
    constexpr unsigned int SQ_SMEM_0__SOFFSET_EN_MASK                         = 0x00004000L;
    constexpr unsigned int SQ_SMEM_1__OFFSET_MASK                             = 0x001fffffL;
    constexpr unsigned int SQ_SMEM_1__SOFFSET_MASK                            = 0xfe000000L;
    constexpr unsigned int SQ_SOP1__ENCODING_MASK                             = 0xff800000L;
    constexpr unsigned int SQ_SOP1__OP_MASK                                   = 0x0000ff00L;
    constexpr unsigned int SQ_SOP1__SDST_MASK                                 = 0x007f0000L;
    constexpr unsigned int SQ_SOP1__SSRC0_MASK                                = 0x000000ffL;
    constexpr unsigned int SQ_SOP2__ENCODING_MASK                             = 0xc0000000L;
    constexpr unsigned int SQ_SOP2__OP_MASK                                   = 0x3f800000L;
    constexpr unsigned int SQ_SOP2__SDST_MASK                                 = 0x007f0000L;
    constexpr unsigned int SQ_SOP2__SSRC0_MASK                                = 0x000000ffL;
    constexpr unsigned int SQ_SOP2__SSRC1_MASK                                = 0x0000ff00L;
    constexpr unsigned int SQ_SOPC__ENCODING_MASK                             = 0xff800000L;
    constexpr unsigned int SQ_SOPC__OP_MASK                                   = 0x007f0000L;
    constexpr unsigned int SQ_SOPC__SSRC0_MASK                                = 0x000000ffL;
    constexpr unsigned int SQ_SOPC__SSRC1_MASK                                = 0x0000ff00L;
    constexpr unsigned int SQ_SOPK__ENCODING_MASK                             = 0xf0000000L;
    constexpr unsigned int SQ_SOPK__OP_MASK                                   = 0x0f800000L;
    constexpr unsigned int SQ_SOPK__SDST_MASK                                 = 0x007f0000L;
    constexpr unsigned int SQ_SOPK__SIMM16_MASK                               = 0x0000ffffL;
    constexpr unsigned int SQ_SOPP__ENCODING_MASK                             = 0xff800000L;
    constexpr unsigned int SQ_SOPP__OP_MASK                                   = 0x007f0000L;
    constexpr unsigned int SQ_SOPP__SIMM16_MASK                               = 0x0000ffffL;
    constexpr unsigned int SQ_TEX_CLK_CTRL__FORCE_CU_ON_SH0_MASK              = 0x0000ffffL;
    constexpr unsigned int SQ_TEX_CLK_CTRL__FORCE_CU_ON_SH1_MASK              = 0xffff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_BASE2__ADDR_HI_MASK                = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_BASE__ADDR_MASK                    = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_CNTR__CNTR_MASK                    = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__RESET_BUFFER_MASK            = 0x80000000L;
    constexpr unsigned int SQ_THREAD_TRACE_HIWATER__HIWATER_MASK              = 0x00000007L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__CU_SEL_MASK                  = 0x0000001fL;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__REG_STALL_EN_MASK            = 0x00000080L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__SH_SEL_MASK                  = 0x00000020L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__SIMD_EN_MASK                 = 0x00000f00L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__SPI_STALL_EN_MASK            = 0x00004000L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__SQ_STALL_EN_MASK             = 0x00008000L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__VM_ID_MASK_MASK              = 0x00003000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__AUTOFLUSH_EN_MASK            = 0x02000000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__CAPTURE_MODE_MASK            = 0x01800000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__INTERRUPT_EN_MASK            = 0x40000000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__ISSUE_MASK_MASK              = 0x18000000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__MASK_CS_MASK                 = 0x001c0000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__MASK_ES_MASK                 = 0x00000e00L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__MASK_GS_MASK                 = 0x000001c0L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__MASK_HS_MASK                 = 0x00007000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__MASK_LS_MASK                 = 0x00038000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__MASK_PS_MASK                 = 0x00000007L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__MASK_VS_MASK                 = 0x00000038L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__MODE_MASK                    = 0x00600000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__TC_PERF_EN_MASK              = 0x04000000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__TEST_MODE_MASK               = 0x20000000L;
    constexpr unsigned int SQ_THREAD_TRACE_MODE__WRAP_MASK                    = 0x80000000L;
    constexpr unsigned int SQ_THREAD_TRACE_PERF_MASK__SH0_MASK_MASK           = 0x0000ffffL;
    constexpr unsigned int SQ_THREAD_TRACE_PERF_MASK__SH1_MASK_MASK           = 0xffff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_SIZE__SIZE_MASK                    = 0x003fffffL;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__BUSY_MASK                  = 0x40000000L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__FINISH_DONE_MASK           = 0x03ff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__FINISH_PENDING_MASK        = 0x000003ffL;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__FULL_MASK                  = 0x80000000L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__NEW_BUF_MASK               = 0x20000000L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__UTC_ERROR_MASK             = 0x10000000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK2__INST_MASK_MASK        = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__REG_DROP_ON_STALL_MASK = 0x01000000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__REG_MASK_MASK          = 0x00ff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__TOKEN_MASK_MASK        = 0x0000ffffL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_CMN__TIME_DELTA_MASK          = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_CMN__TOKEN_TYPE_MASK          = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_EVENT__EVENT_TYPE_MASK        = 0x0000fc00L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_EVENT__SH_ID_MASK             = 0x00000020L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_EVENT__STAGE_MASK             = 0x000001c0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_EVENT__TIME_DELTA_MASK        = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_EVENT__TOKEN_TYPE_MASK        = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_PC_1_OF_2__PC_LO_MASK    = 0xffff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_PC_1_OF_2__SIMD_ID_MASK  = 0x00000600L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_PC_1_OF_2__TIME_DELTA_MASK = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_PC_1_OF_2__TOKEN_TYPE_MASK = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_PC_1_OF_2__TRAP_ERROR_MASK = 0x00008000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_PC_1_OF_2__WAVE_ID_MASK  = 0x000001e0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_PC_2_OF_2__PC_HI_MASK    = 0x00ffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_USERDATA_1_OF_2__CU_ID_MASK = 0x000003c0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_USERDATA_1_OF_2__DATA_LO_MASK = 0xffff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_USERDATA_1_OF_2__SH_ID_MASK = 0x00000020L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_USERDATA_1_OF_2__SIMD_ID_MASK = 0x0000c000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_USERDATA_1_OF_2__TIME_DELTA_MASK = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_USERDATA_1_OF_2__TOKEN_TYPE_MASK = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_USERDATA_1_OF_2__WAVE_ID_MASK = 0x00003c00L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST_USERDATA_2_OF_2__DATA_HI_MASK = 0x0000ffffL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST__INST_TYPE_MASK          = 0x0000f800L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST__SIMD_ID_MASK            = 0x00000600L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST__TIME_DELTA_MASK         = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST__TOKEN_TYPE_MASK         = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_INST__WAVE_ID_MASK            = 0x000001e0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST0_MASK             = 0x00000300L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST1_MASK             = 0x00000c00L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST2_MASK             = 0x00003000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST3_MASK             = 0x0000c000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST4_MASK             = 0x00030000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST5_MASK             = 0x000c0000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST6_MASK             = 0x00300000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST7_MASK             = 0x00c00000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST8_MASK             = 0x03000000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__INST9_MASK             = 0x0c000000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__SIMD_ID_MASK           = 0x00000060L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__TIME_DELTA_MASK        = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_ISSUE__TOKEN_TYPE_MASK        = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_MISC__MISC_TOKEN_TYPE_MASK    = 0x0000e000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_MISC__SH_ID_MASK              = 0x00001000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_MISC__TIME_DELTA_MASK         = 0x00000ff0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_MISC__TOKEN_TYPE_MASK         = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_1_OF_2__CNTR0_MASK       = 0x01fff000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_1_OF_2__CNTR1_LO_MASK    = 0xfe000000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_1_OF_2__CNTR_BANK_MASK   = 0x00000c00L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_1_OF_2__CU_ID_MASK       = 0x000003c0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_1_OF_2__SH_ID_MASK       = 0x00000020L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_1_OF_2__TIME_DELTA_MASK  = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_1_OF_2__TOKEN_TYPE_MASK  = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_2_OF_2__CNTR1_HI_MASK    = 0x0000003fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_2_OF_2__CNTR2_MASK       = 0x0007ffc0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_PERF_2_OF_2__CNTR3_MASK       = 0xfff80000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__ME_ID_MASK        = 0x00000180L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__PIPE_ID_MASK      = 0x00000060L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__REG_ADDR_MASK     = 0xffff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__REG_DROPPED_PREV_MASK = 0x00000200L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__REG_OP_MASK       = 0x00008000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__REG_PRIV_MASK     = 0x00004000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__REG_TYPE_MASK     = 0x00001c00L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__TIME_DELTA_MASK   = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_1_OF_2__TOKEN_TYPE_MASK   = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_2_OF_2__DATA_MASK         = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_CS_1_OF_2__DATA_LO_MASK   = 0xffff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_CS_1_OF_2__ME_ID_MASK     = 0x00000180L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_CS_1_OF_2__PIPE_ID_MASK   = 0x00000060L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_CS_1_OF_2__REG_ADDR_MASK  = 0x0000fe00L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_CS_1_OF_2__TIME_DELTA_MASK = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_CS_1_OF_2__TOKEN_TYPE_MASK = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_REG_CS_2_OF_2__DATA_HI_MASK   = 0x0000ffffL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_TIMESTAMP_1_OF_2__TIME_LO_MASK = 0xffff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_TIMESTAMP_1_OF_2__TOKEN_TYPE_MASK = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_TIMESTAMP_2_OF_2__TIME_HI_MASK = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__COUNT_MASK        = 0x1fc00000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__CU_ID_MASK        = 0x000003c0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__DISPATCHER_MASK   = 0x001f0000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__SH_ID_MASK        = 0x00000020L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__SIMD_ID_MASK      = 0x0000c000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__TG_ID_MASK        = 0xe0000000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__TIME_DELTA_MASK   = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__TOKEN_TYPE_MASK   = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__VS_NO_ALLOC_OR_GROUPED_MASK = 0x00200000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE_START__WAVE_ID_MASK      = 0x00003c00L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE__CU_ID_MASK              = 0x000003c0L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE__SH_ID_MASK              = 0x00000020L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE__SIMD_ID_MASK            = 0x0000c000L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE__TIME_DELTA_MASK         = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE__TOKEN_TYPE_MASK         = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_WORD_WAVE__WAVE_ID_MASK            = 0x00003c00L;
    constexpr unsigned int SQ_THREAD_TRACE_WPTR__READ_OFFSET_MASK             = 0xc0000000L;
    constexpr unsigned int SQ_THREAD_TRACE_WPTR__WPTR_MASK                    = 0x3fffffffL;
    constexpr unsigned int SQ_TIME_HI__TIME_MASK                              = 0xffffffffL;
    constexpr unsigned int SQ_TIME_LO__TIME_MASK                              = 0xffffffffL;
    constexpr unsigned int SQ_UTCL1_CNTL1__CLIENTID_MASK                      = 0x0000ff80L;
    constexpr unsigned int SQ_UTCL1_CNTL1__ENABLE_LFIFO_PRI_ARB_MASK          = 0x00040000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__ENABLE_PUSH_LFIFO_MASK             = 0x00020000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__FORCE_4K_L2_RESP_MASK              = 0x00000001L;
    constexpr unsigned int SQ_UTCL1_CNTL1__FORCE_IN_ORDER_MASK                = 0x08000000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__FORCE_MISS_MASK                    = 0x04000000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__GPUVM_64K_DEF_MASK                 = 0x00000002L;
    constexpr unsigned int SQ_UTCL1_CNTL1__GPUVM_PERM_MODE_MASK               = 0x00000004L;
    constexpr unsigned int SQ_UTCL1_CNTL1__REDUCE_CACHE_SIZE_BY_2_MASK        = 0xc0000000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__REDUCE_FIFO_DEPTH_BY_2_MASK        = 0x30000000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__REG_INVALIDATE_ALL_MASK            = 0x02000000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__REG_INVALIDATE_ALL_VMID_MASK       = 0x00800000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__REG_INVALIDATE_TOGGLE_MASK         = 0x01000000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__REG_INVALIDATE_VMID_MASK           = 0x00780000L;
    constexpr unsigned int SQ_UTCL1_CNTL1__RESP_FAULT_MODE_MASK               = 0x00000060L;
    constexpr unsigned int SQ_UTCL1_CNTL1__RESP_MODE_MASK                     = 0x00000018L;
    constexpr unsigned int SQ_UTCL1_CNTL1__USERVM_DIS_MASK                    = 0x00010000L;
    constexpr unsigned int SQ_UTCL1_CNTL2__DIS_EDC_MASK                       = 0x00000800L;
    constexpr unsigned int SQ_UTCL1_CNTL2__FORCE_FRAG_2M_TO_64K_MASK          = 0x04000000L;
    constexpr unsigned int SQ_UTCL1_CNTL2__FORCE_GPUVM_INV_ACK_MASK           = 0x00008000L;
    constexpr unsigned int SQ_UTCL1_CNTL2__FORCE_SNOOP_MASK                   = 0x00004000L;
    constexpr unsigned int SQ_UTCL1_CNTL2__GPUVM_INV_MODE_MASK                = 0x00001000L;
    constexpr unsigned int SQ_UTCL1_CNTL2__LFIFO_SCAN_DISABLE_MASK            = 0x00000100L;
    constexpr unsigned int SQ_UTCL1_CNTL2__LINE_VALID_MASK                    = 0x00000400L;
    constexpr unsigned int SQ_UTCL1_CNTL2__MTYPE_OVRD_DIS_MASK                = 0x00000200L;
    constexpr unsigned int SQ_UTCL1_CNTL2__PREFETCH_PAGE_MASK                 = 0xf0000000L;
    constexpr unsigned int SQ_UTCL1_CNTL2__RETRY_TIMER_MASK                   = 0x007f0000L;
    constexpr unsigned int SQ_UTCL1_CNTL2__SHOOTDOWN_OPT_MASK                 = 0x00002000L;
    constexpr unsigned int SQ_UTCL1_CNTL2__SPARE_MASK                         = 0x000000ffL;
    constexpr unsigned int SQ_UTCL1_STATUS__FAULT_DETECTED_MASK               = 0x00000001L;
    constexpr unsigned int SQ_UTCL1_STATUS__PRT_DETECTED_MASK                 = 0x00000004L;
    constexpr unsigned int SQ_UTCL1_STATUS__RESERVED_MASK                     = 0x0000fff8L;
    constexpr unsigned int SQ_UTCL1_STATUS__RETRY_DETECTED_MASK               = 0x00000002L;
    constexpr unsigned int SQ_UTCL1_STATUS__UNUSED_MASK                       = 0xffff0000L;
    constexpr unsigned int SQ_VINTRP__ATTRCHAN_MASK                           = 0x00000300L;
    constexpr unsigned int SQ_VINTRP__ATTR_MASK                               = 0x0000fc00L;
    constexpr unsigned int SQ_VINTRP__ENCODING_MASK                           = 0xfc000000L;
    constexpr unsigned int SQ_VINTRP__OP_MASK                                 = 0x00030000L;
    constexpr unsigned int SQ_VINTRP__VDST_MASK                               = 0x03fc0000L;
    constexpr unsigned int SQ_VINTRP__VSRC_MASK                               = 0x000000ffL;
    constexpr unsigned int SQ_VOP1__ENCODING_MASK                             = 0xfe000000L;
    constexpr unsigned int SQ_VOP1__OP_MASK                                   = 0x0001fe00L;
    constexpr unsigned int SQ_VOP1__SRC0_MASK                                 = 0x000001ffL;
    constexpr unsigned int SQ_VOP1__VDST_MASK                                 = 0x01fe0000L;
    constexpr unsigned int SQ_VOP2__ENCODING_MASK                             = 0x80000000L;
    constexpr unsigned int SQ_VOP2__OP_MASK                                   = 0x7e000000L;
    constexpr unsigned int SQ_VOP2__SRC0_MASK                                 = 0x000001ffL;
    constexpr unsigned int SQ_VOP2__VDST_MASK                                 = 0x01fe0000L;
    constexpr unsigned int SQ_VOP2__VSRC1_MASK                                = 0x0001fe00L;
    constexpr unsigned int SQ_VOP3P_0__CLAMP_MASK                             = 0x00008000L;
    constexpr unsigned int SQ_VOP3P_0__ENCODING_MASK                          = 0xff800000L;
    constexpr unsigned int SQ_VOP3P_0__NEG_HI_MASK                            = 0x00000700L;
    constexpr unsigned int SQ_VOP3P_0__OP_MASK                                = 0x007f0000L;
    constexpr unsigned int SQ_VOP3P_0__OP_SEL_HI_2_MASK                       = 0x00004000L;
    constexpr unsigned int SQ_VOP3P_0__OP_SEL_MASK                            = 0x00003800L;
    constexpr unsigned int SQ_VOP3P_0__VDST_MASK                              = 0x000000ffL;
    constexpr unsigned int SQ_VOP3P_1__NEG_MASK                               = 0xe0000000L;
    constexpr unsigned int SQ_VOP3P_1__OP_SEL_HI_MASK                         = 0x18000000L;
    constexpr unsigned int SQ_VOP3P_1__SRC0_MASK                              = 0x000001ffL;
    constexpr unsigned int SQ_VOP3P_1__SRC1_MASK                              = 0x0003fe00L;
    constexpr unsigned int SQ_VOP3P_1__SRC2_MASK                              = 0x07fc0000L;
    constexpr unsigned int SQ_VOP3_0_SDST_ENC__CLAMP_MASK                     = 0x00008000L;
    constexpr unsigned int SQ_VOP3_0_SDST_ENC__ENCODING_MASK                  = 0xfc000000L;
    constexpr unsigned int SQ_VOP3_0_SDST_ENC__OP_MASK                        = 0x03ff0000L;
    constexpr unsigned int SQ_VOP3_0_SDST_ENC__SDST_MASK                      = 0x00007f00L;
    constexpr unsigned int SQ_VOP3_0_SDST_ENC__VDST_MASK                      = 0x000000ffL;
    constexpr unsigned int SQ_VOP3_0__ABS_MASK                                = 0x00000700L;
    constexpr unsigned int SQ_VOP3_0__CLAMP_MASK                              = 0x00008000L;
    constexpr unsigned int SQ_VOP3_0__ENCODING_MASK                           = 0xfc000000L;
    constexpr unsigned int SQ_VOP3_0__OP_MASK                                 = 0x03ff0000L;
    constexpr unsigned int SQ_VOP3_0__OP_SEL_MASK                             = 0x00007800L;
    constexpr unsigned int SQ_VOP3_0__VDST_MASK                               = 0x000000ffL;
    constexpr unsigned int SQ_VOP3_1__NEG_MASK                                = 0xe0000000L;
    constexpr unsigned int SQ_VOP3_1__OMOD_MASK                               = 0x18000000L;
    constexpr unsigned int SQ_VOP3_1__SRC0_MASK                               = 0x000001ffL;
    constexpr unsigned int SQ_VOP3_1__SRC1_MASK                               = 0x0003fe00L;
    constexpr unsigned int SQ_VOP3_1__SRC2_MASK                               = 0x07fc0000L;
    constexpr unsigned int SQ_VOPC__ENCODING_MASK                             = 0xfe000000L;
    constexpr unsigned int SQ_VOPC__OP_MASK                                   = 0x01fe0000L;
    constexpr unsigned int SQ_VOPC__SRC0_MASK                                 = 0x000001ffL;
    constexpr unsigned int SQ_VOPC__VSRC1_MASK                                = 0x0001fe00L;
    constexpr unsigned int SQ_VOP_DPP__BANK_MASK_MASK                         = 0x0f000000L;
    constexpr unsigned int SQ_VOP_DPP__BOUND_CTRL_MASK                        = 0x00080000L;
    constexpr unsigned int SQ_VOP_DPP__DPP_CTRL_MASK                          = 0x0001ff00L;
    constexpr unsigned int SQ_VOP_DPP__ROW_MASK_MASK                          = 0xf0000000L;
    constexpr unsigned int SQ_VOP_DPP__SRC0_ABS_MASK                          = 0x00200000L;
    constexpr unsigned int SQ_VOP_DPP__SRC0_MASK                              = 0x000000ffL;
    constexpr unsigned int SQ_VOP_DPP__SRC0_NEG_MASK                          = 0x00100000L;
    constexpr unsigned int SQ_VOP_DPP__SRC1_ABS_MASK                          = 0x00800000L;
    constexpr unsigned int SQ_VOP_DPP__SRC1_NEG_MASK                          = 0x00400000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__S0_MASK                      = 0x00800000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__S1_MASK                      = 0x80000000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SDST_MASK                    = 0x00007f00L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SD_MASK                      = 0x00008000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC0_ABS_MASK                = 0x00200000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC0_MASK                    = 0x000000ffL;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC0_NEG_MASK                = 0x00100000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC0_SEL_MASK                = 0x00070000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC0_SEXT_MASK               = 0x00080000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC1_ABS_MASK                = 0x20000000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC1_NEG_MASK                = 0x10000000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC1_SEL_MASK                = 0x07000000L;
    constexpr unsigned int SQ_VOP_SDWA_SDST_ENC__SRC1_SEXT_MASK               = 0x08000000L;
    constexpr unsigned int SQ_VOP_SDWA__CLAMP_MASK                            = 0x00002000L;
    constexpr unsigned int SQ_VOP_SDWA__DST_SEL_MASK                          = 0x00000700L;
    constexpr unsigned int SQ_VOP_SDWA__DST_UNUSED_MASK                       = 0x00001800L;
    constexpr unsigned int SQ_VOP_SDWA__OMOD_MASK                             = 0x0000c000L;
    constexpr unsigned int SQ_VOP_SDWA__S0_MASK                               = 0x00800000L;
    constexpr unsigned int SQ_VOP_SDWA__S1_MASK                               = 0x80000000L;
    constexpr unsigned int SQ_VOP_SDWA__SRC0_ABS_MASK                         = 0x00200000L;
    constexpr unsigned int SQ_VOP_SDWA__SRC0_MASK                             = 0x000000ffL;
    constexpr unsigned int SQ_VOP_SDWA__SRC0_NEG_MASK                         = 0x00100000L;
    constexpr unsigned int SQ_VOP_SDWA__SRC0_SEL_MASK                         = 0x00070000L;
    constexpr unsigned int SQ_VOP_SDWA__SRC0_SEXT_MASK                        = 0x00080000L;
    constexpr unsigned int SQ_VOP_SDWA__SRC1_ABS_MASK                         = 0x20000000L;
    constexpr unsigned int SQ_VOP_SDWA__SRC1_NEG_MASK                         = 0x10000000L;
    constexpr unsigned int SQ_VOP_SDWA__SRC1_SEL_MASK                         = 0x07000000L;
    constexpr unsigned int SQ_VOP_SDWA__SRC1_SEXT_MASK                        = 0x08000000L;
    constexpr unsigned int SQ_WAVE_GPR_ALLOC__SGPR_BASE_MASK                  = 0x003f0000L;
    constexpr unsigned int SQ_WAVE_GPR_ALLOC__SGPR_SIZE_MASK                  = 0x0f000000L;
    constexpr unsigned int SQ_WAVE_GPR_ALLOC__VGPR_BASE_MASK                  = 0x0000003fL;
    constexpr unsigned int SQ_WAVE_GPR_ALLOC__VGPR_SIZE_MASK                  = 0x00003f00L;
    constexpr unsigned int SQ_WAVE_HW_ID__CU_ID_MASK                          = 0x00000f00L;
    constexpr unsigned int SQ_WAVE_HW_ID__ME_ID_MASK                          = 0xc0000000L;
    constexpr unsigned int SQ_WAVE_HW_ID__PIPE_ID_MASK                        = 0x000000c0L;
    constexpr unsigned int SQ_WAVE_HW_ID__QUEUE_ID_MASK                       = 0x07000000L;
    constexpr unsigned int SQ_WAVE_HW_ID__SE_ID_MASK                          = 0x00006000L;
    constexpr unsigned int SQ_WAVE_HW_ID__SH_ID_MASK                          = 0x00001000L;
    constexpr unsigned int SQ_WAVE_HW_ID__SIMD_ID_MASK                        = 0x00000030L;
    constexpr unsigned int SQ_WAVE_HW_ID__STATE_ID_MASK                       = 0x38000000L;
    constexpr unsigned int SQ_WAVE_HW_ID__TG_ID_MASK                          = 0x000f0000L;
    constexpr unsigned int SQ_WAVE_HW_ID__VM_ID_MASK                          = 0x00f00000L;
    constexpr unsigned int SQ_WAVE_HW_ID__WAVE_ID_MASK                        = 0x0000000fL;
    constexpr unsigned int SQ_WAVE_IB_STS__EXP_CNT_MASK                       = 0x00000070L;
    constexpr unsigned int SQ_WAVE_IB_STS__FIRST_REPLAY_MASK                  = 0x00008000L;
    constexpr unsigned int SQ_WAVE_IB_STS__LGKM_CNT_MASK                      = 0x00000f00L;
    constexpr unsigned int SQ_WAVE_IB_STS__RCNT_MASK                          = 0x001f0000L;
    constexpr unsigned int SQ_WAVE_IB_STS__VALU_CNT_MASK                      = 0x00007000L;
    constexpr unsigned int SQ_WAVE_IB_STS__VM_CNT_HI_MASK                     = 0x00c00000L;
    constexpr unsigned int SQ_WAVE_IB_STS__VM_CNT_MASK                        = 0x0000000fL;
    constexpr unsigned int SQ_WAVE_INST_DW0__INST_DW0_MASK                    = 0xffffffffL;
    constexpr unsigned int SQ_WAVE_INST_DW1__INST_DW1_MASK                    = 0xffffffffL;
    constexpr unsigned int SQ_WAVE_LDS_ALLOC__LDS_BASE_MASK                   = 0x000000ffL;
    constexpr unsigned int SQ_WAVE_MODE__CSP_MASK                             = 0xe0000000L;
    constexpr unsigned int SQ_WAVE_MODE__DEBUG_EN_MASK                        = 0x00000800L;
    constexpr unsigned int SQ_WAVE_MODE__DISABLE_PERF_MASK                    = 0x04000000L;
    constexpr unsigned int SQ_WAVE_MODE__GPR_IDX_EN_MASK                      = 0x08000000L;
    constexpr unsigned int SQ_WAVE_MODE__POPS_PACKER0_MASK                    = 0x01000000L;
    constexpr unsigned int SQ_WAVE_MODE__POPS_PACKER1_MASK                    = 0x02000000L;
    constexpr unsigned int SQ_WAVE_MODE__VSKIP_MASK                           = 0x10000000L;
    constexpr unsigned int SQ_WAVE_STATUS__ALLOW_REPLAY_MASK                  = 0x00400000L;
    constexpr unsigned int SQ_WAVE_STATUS__TTRACE_CU_EN_MASK                  = 0x00008000L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__DP_RATE_MASK                      = 0xe0000000L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__EXCP_CYCLE_MASK                   = 0x003f0000L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__XNACK_ERROR_MASK                  = 0x10000000L;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__ADDR_HI_MASK                    = 0x0000ffffL;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__ATC_MASK                        = 0x08000000L;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__FIRST_WAVE_MASK                 = 0x04000000L;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__MSB_MASK                        = 0x80000000L;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__MTYPE_MASK                      = 0x70000000L;
    constexpr unsigned int SQ_WREXEC_EXEC_LO__ADDR_LO_MASK                    = 0xffffffffL;
    constexpr unsigned int TA_CNTL_AUX__ANISO_MIP_ADJ_MODE_MASK               = 0x00080000L;
    constexpr unsigned int TA_CNTL_AUX__DISABLE_DWORD_X2_COALESCE_MASK        = 0x08000000L;
    constexpr unsigned int TA_CNTL_AUX__NONIMG_ANISO_BYPASS_MASK              = 0x00000200L;
    constexpr unsigned int TA_CNTL_AUX__RESERVED_MASK                         = 0x0000000eL;
    constexpr unsigned int TA_CNTL__FX_XNACK_CREDIT_MASK                      = 0x0000007fL;
    constexpr unsigned int TA_CNTL__SQ_XNACK_CREDIT_MASK                      = 0x00001e00L;
    constexpr unsigned int TA_CNTL__TC_DATA_CREDIT_MASK                       = 0x0000e000L;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000000ffL;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x0003fc00L;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x0003fc00L;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int TA_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int TA_RESERVED_010C__Unused_MASK                      = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int TCA_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int TCA_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int TCA_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int TCA_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int TCA_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int TCA_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int TCA_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int TCA_PERFCOUNTER3_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int TCA_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int TCA_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int TCC_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int TCC_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int TCC_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int TCC_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int TCC_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int TCC_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int TCC_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int TCC_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int TCC_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int TCC_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int TCC_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int TCC_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int TCC_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int TCC_PERFCOUNTER3_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int TCC_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int TCC_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__ADDR_MODE_MASK          = 0x00000800L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__COMPRESSION_ENABLE_MASK = 0x00000400L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__GLC_MASK                = 0x00000100L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__SLC_MASK                = 0x00000200L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__ADDR_MODE_MASK             = 0x70000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__COMPRESSION_ENABLE_MASK    = 0x08000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__DATA_FORMAT_MASK           = 0x000007e0L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__GLC_MASK                   = 0x02000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__NUM_FORMAT_MASK            = 0x00007800L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__NUM_SAMPLES_MASK           = 0x00300000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__OPCODE_TYPE_MASK           = 0x01c00000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__SLC_MASK                   = 0x04000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__SW_MODE_MASK               = 0x000f8000L;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000000ffL;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x0003fc00L;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x0003fc00L;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int TD_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_BUSY_MASK                     = 0x00000001L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_GS_BUSY_MASK                  = 0x00000080L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_HS_BUSY_MASK                  = 0x00000100L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_OUT_BUSY_MASK                 = 0x00000004L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_OUT_INDX_BUSY_MASK            = 0x00000002L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_PI_BUSY_MASK                  = 0x00000040L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_PRIMGEN_BUSY_MASK             = 0x00000400L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_PT_BUSY_MASK                  = 0x00000008L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_TE11_BUSY_MASK                = 0x00000200L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_TE_BUSY_MASK                  = 0x00000010L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_VR_BUSY_MASK                  = 0x00000020L;
    constexpr unsigned int VGT_DISPATCH_DRAW_INDEX__MATCH_INDEX_MASK          = 0xffffffffL;
    constexpr unsigned int VGT_DMA_CONTROL__EN_INST_OPT_ADV_MASK              = 0x00400000L;
    constexpr unsigned int VGT_DMA_CONTROL__EN_INST_OPT_BASIC_MASK            = 0x00200000L;
    constexpr unsigned int VGT_DMA_CONTROL__HW_USE_ONLY_MASK                  = 0x00800000L;
    constexpr unsigned int VGT_DMA_DATA_FIFO_DEPTH__DMA2DRAW_FIFO_DEPTH_MASK  = 0x0007fe00L;
    constexpr unsigned int VGT_DMA_DATA_FIFO_DEPTH__DMA_DATA_FIFO_DEPTH_MASK  = 0x000001ffL;
    constexpr unsigned int VGT_DMA_INDEX_TYPE__PRIMGEN_EN_MASK                = 0x00000100L;
    constexpr unsigned int VGT_DMA_INDEX_TYPE__RDREQ_POLICY_MASK              = 0x00000040L;
    constexpr unsigned int VGT_DRAW_INITIATOR__GRBM_SKEW_NO_DEC_MASK          = 0x00000100L;
    constexpr unsigned int VGT_DRAW_INITIATOR__UNROLLED_INST_MASK             = 0x00000080L;
    constexpr unsigned int VGT_FIFO_DEPTHS__HSINPUT_FIFO_DEPTH_MASK           = 0x0fc00000L;
    constexpr unsigned int VGT_GS_MAX_PRIMS_PER_SUBGROUP__MAX_PRIMS_PER_SUBGROUP_MASK = 0x0000ffffL;
    constexpr unsigned int VGT_GS_MODE__RESERVED_3_MASK                       = 0x00004000L;
    constexpr unsigned int VGT_GS_MODE__RESERVED_4_MASK                       = 0x00008000L;
    constexpr unsigned int VGT_GS_MODE__RESERVED_5_MASK                       = 0x00010000L;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM__OFFCHIP_BUFFERING_MASK       = 0x000001ffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM__OFFCHIP_GRANULARITY_MASK     = 0x00000600L;
    constexpr unsigned int VGT_INDEX_TYPE__PRIMGEN_EN_MASK                    = 0x00000100L;
    constexpr unsigned int VGT_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int VGT_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int VGT_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int VGT_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int VGT_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int VGT_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000000ffL;
    constexpr unsigned int VGT_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int VGT_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000000ffL;
    constexpr unsigned int VGT_PERFCOUNTER_SEID_MASK__PERF_SEID_IGNORE_MASK_MASK = 0x000000ffL;
    constexpr unsigned int VGT_SHADER_STAGES_EN__DISPATCH_DRAW_EN_MASK        = 0x00000200L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__DIS_DEALLOC_ACCUM_0_MASK     = 0x00000400L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__DIS_DEALLOC_ACCUM_1_MASK     = 0x00000800L;
    constexpr unsigned int VGT_TF_PARAM__RDREQ_POLICY_MASK                    = 0x00008000L;
    constexpr unsigned int VGT_VTX_VECT_EJECT_REG__PRIM_COUNT_MASK            = 0x0000007fL;
    constexpr unsigned int WD_CNTL_SB_BUF_BASE_HI__BASE_HI_MASK               = 0x000000ffL;
    constexpr unsigned int WD_CNTL_SB_BUF_BASE__BASE_MASK                     = 0xffffffffL;
    constexpr unsigned int WD_CNTL_STATUS__WD_ADC_BUSY_MASK                   = 0x00000008L;
    constexpr unsigned int WD_CNTL_STATUS__WD_BUSY_MASK                       = 0x00000001L;
    constexpr unsigned int WD_CNTL_STATUS__WD_SPL_DI_BUSY_MASK                = 0x00000004L;
    constexpr unsigned int WD_CNTL_STATUS__WD_SPL_DMA_BUSY_MASK               = 0x00000002L;
    constexpr unsigned int WD_INDEX_BUF_BASE_HI__BASE_HI_MASK                 = 0x000000ffL;
    constexpr unsigned int WD_INDEX_BUF_BASE__BASE_MASK                       = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int WD_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int WD_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int WD_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int WD_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER2_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int WD_PERFCOUNTER2_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int WD_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int WD_PERFCOUNTER3_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int WD_PERFCOUNTER3_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int WD_POS_BUF_BASE_HI__BASE_HI_MASK                   = 0x000000ffL;
    constexpr unsigned int WD_POS_BUF_BASE__BASE_MASK                         = 0xffffffffL;
    constexpr unsigned int WD_UTCL1_CNTL__FORCE_SD_VMID_DIRTY_MASK            = 0x20000000L;
} // namespace Gfx09

namespace Gfx09_0
{
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERFCOUNTER_SELECT2_MASK = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERFCOUNTER_SELECT3_MASK = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERFCOUNTER_SELECT1_MASK  = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERFCOUNTER_SELECT_MASK   = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERFCOUNTER_SELECT1_MASK  = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERFCOUNTER_SELECT_MASK   = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERFCOUNTER_SELECT1_MASK  = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERFCOUNTER_SELECT_MASK   = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERFCOUNTER_SELECT1_MASK  = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERFCOUNTER_SELECT_MASK   = 0x000003ffL;
    constexpr unsigned int PA_SC_ENHANCE_1__RSVD_MASK                         = 0xff800000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERFCOUNTER_SELECT2_MASK  = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERFCOUNTER_SELECT3_MASK  = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERFCOUNTER_SELECT1_MASK   = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERFCOUNTER_SELECT_MASK    = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERFCOUNTER_SELECT2_MASK  = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERFCOUNTER_SELECT3_MASK  = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERFCOUNTER_SELECT1_MASK   = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERFCOUNTER_SELECT_MASK    = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER2_SELECT__PERFCOUNTER_SELECT1_MASK   = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER2_SELECT__PERFCOUNTER_SELECT_MASK    = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER3_SELECT__PERFCOUNTER_SELECT1_MASK   = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER3_SELECT__PERFCOUNTER_SELECT_MASK    = 0x000003ffL;
    constexpr unsigned int TA_PERFCOUNTER1_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
    constexpr unsigned int TA_PERFCOUNTER1_SELECT__PERF_SEL1_MASK             = 0x0003fc00L;
    constexpr unsigned int TD_PERFCOUNTER1_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
    constexpr unsigned int TD_PERFCOUNTER1_SELECT__PERF_SEL1_MASK             = 0x0003fc00L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__GS_FAST_LAUNCH_MASK          = 0x00080000L;
} // namespace Gfx09_0

namespace Gfx09_10
{
    constexpr unsigned int CB_COLOR0_CLEAR_WORD0__CLEAR_WORD0_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR0_CLEAR_WORD1__CLEAR_WORD1_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR0_CMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR0_CMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__COLOR_TRANSFORM_MASK        = 0x00000180L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__INDEPENDENT_64B_BLOCKS_MASK = 0x00000200L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__KEY_CLEAR_ENABLE_MASK       = 0x00000002L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__LOSSY_ALPHA_PRECISION_MASK  = 0x0003c000L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__LOSSY_RGB_PRECISION_MASK    = 0x00003c00L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__MAX_COMPRESSED_BLOCK_SIZE_MASK = 0x00000060L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__MAX_UNCOMPRESSED_BLOCK_SIZE_MASK = 0x0000000cL;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__MIN_COMPRESSED_BLOCK_SIZE_MASK = 0x00000010L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int CB_COLOR0_FMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR0_FMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR0_INFO__CMASK_ADDR_TYPE_MASK               = 0x60000000L;
    constexpr unsigned int CB_COLOR0_INFO__COMPRESSION_MASK                   = 0x00004000L;
    constexpr unsigned int CB_COLOR0_INFO__DCC_ENABLE_MASK                    = 0x10000000L;
    constexpr unsigned int CB_COLOR0_INFO__ENDIAN_MASK                        = 0x00000003L;
    constexpr unsigned int CB_COLOR0_INFO__FAST_CLEAR_MASK                    = 0x00002000L;
    constexpr unsigned int CB_COLOR0_INFO__FMASK_COMPRESSION_DISABLE_MASK     = 0x04000000L;
    constexpr unsigned int CB_COLOR0_INFO__FMASK_COMPRESS_1FRAG_ONLY_MASK     = 0x08000000L;
    constexpr unsigned int CB_COLOR0_INFO__FORMAT_MASK                        = 0x0000007cL;
    constexpr unsigned int CB_COLOR1_CLEAR_WORD0__CLEAR_WORD0_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR1_CLEAR_WORD1__CLEAR_WORD1_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR1_CMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR1_CMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__COLOR_TRANSFORM_MASK        = 0x00000180L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__INDEPENDENT_64B_BLOCKS_MASK = 0x00000200L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__KEY_CLEAR_ENABLE_MASK       = 0x00000002L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__LOSSY_ALPHA_PRECISION_MASK  = 0x0003c000L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__LOSSY_RGB_PRECISION_MASK    = 0x00003c00L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__MAX_COMPRESSED_BLOCK_SIZE_MASK = 0x00000060L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__MAX_UNCOMPRESSED_BLOCK_SIZE_MASK = 0x0000000cL;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__MIN_COMPRESSED_BLOCK_SIZE_MASK = 0x00000010L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int CB_COLOR1_FMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR1_FMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR1_INFO__CMASK_ADDR_TYPE_MASK               = 0x60000000L;
    constexpr unsigned int CB_COLOR1_INFO__COMPRESSION_MASK                   = 0x00004000L;
    constexpr unsigned int CB_COLOR1_INFO__DCC_ENABLE_MASK                    = 0x10000000L;
    constexpr unsigned int CB_COLOR1_INFO__ENDIAN_MASK                        = 0x00000003L;
    constexpr unsigned int CB_COLOR1_INFO__FAST_CLEAR_MASK                    = 0x00002000L;
    constexpr unsigned int CB_COLOR1_INFO__FMASK_COMPRESSION_DISABLE_MASK     = 0x04000000L;
    constexpr unsigned int CB_COLOR1_INFO__FMASK_COMPRESS_1FRAG_ONLY_MASK     = 0x08000000L;
    constexpr unsigned int CB_COLOR1_INFO__FORMAT_MASK                        = 0x0000007cL;
    constexpr unsigned int CB_COLOR2_CLEAR_WORD0__CLEAR_WORD0_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR2_CLEAR_WORD1__CLEAR_WORD1_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR2_CMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR2_CMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__COLOR_TRANSFORM_MASK        = 0x00000180L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__INDEPENDENT_64B_BLOCKS_MASK = 0x00000200L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__KEY_CLEAR_ENABLE_MASK       = 0x00000002L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__LOSSY_ALPHA_PRECISION_MASK  = 0x0003c000L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__LOSSY_RGB_PRECISION_MASK    = 0x00003c00L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__MAX_COMPRESSED_BLOCK_SIZE_MASK = 0x00000060L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__MAX_UNCOMPRESSED_BLOCK_SIZE_MASK = 0x0000000cL;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__MIN_COMPRESSED_BLOCK_SIZE_MASK = 0x00000010L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int CB_COLOR2_FMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR2_FMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR2_INFO__CMASK_ADDR_TYPE_MASK               = 0x60000000L;
    constexpr unsigned int CB_COLOR2_INFO__COMPRESSION_MASK                   = 0x00004000L;
    constexpr unsigned int CB_COLOR2_INFO__DCC_ENABLE_MASK                    = 0x10000000L;
    constexpr unsigned int CB_COLOR2_INFO__ENDIAN_MASK                        = 0x00000003L;
    constexpr unsigned int CB_COLOR2_INFO__FAST_CLEAR_MASK                    = 0x00002000L;
    constexpr unsigned int CB_COLOR2_INFO__FMASK_COMPRESSION_DISABLE_MASK     = 0x04000000L;
    constexpr unsigned int CB_COLOR2_INFO__FMASK_COMPRESS_1FRAG_ONLY_MASK     = 0x08000000L;
    constexpr unsigned int CB_COLOR2_INFO__FORMAT_MASK                        = 0x0000007cL;
    constexpr unsigned int CB_COLOR3_CLEAR_WORD0__CLEAR_WORD0_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR3_CLEAR_WORD1__CLEAR_WORD1_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR3_CMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR3_CMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__COLOR_TRANSFORM_MASK        = 0x00000180L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__INDEPENDENT_64B_BLOCKS_MASK = 0x00000200L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__KEY_CLEAR_ENABLE_MASK       = 0x00000002L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__LOSSY_ALPHA_PRECISION_MASK  = 0x0003c000L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__LOSSY_RGB_PRECISION_MASK    = 0x00003c00L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__MAX_COMPRESSED_BLOCK_SIZE_MASK = 0x00000060L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__MAX_UNCOMPRESSED_BLOCK_SIZE_MASK = 0x0000000cL;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__MIN_COMPRESSED_BLOCK_SIZE_MASK = 0x00000010L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int CB_COLOR3_FMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR3_FMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR3_INFO__CMASK_ADDR_TYPE_MASK               = 0x60000000L;
    constexpr unsigned int CB_COLOR3_INFO__COMPRESSION_MASK                   = 0x00004000L;
    constexpr unsigned int CB_COLOR3_INFO__DCC_ENABLE_MASK                    = 0x10000000L;
    constexpr unsigned int CB_COLOR3_INFO__ENDIAN_MASK                        = 0x00000003L;
    constexpr unsigned int CB_COLOR3_INFO__FAST_CLEAR_MASK                    = 0x00002000L;
    constexpr unsigned int CB_COLOR3_INFO__FMASK_COMPRESSION_DISABLE_MASK     = 0x04000000L;
    constexpr unsigned int CB_COLOR3_INFO__FMASK_COMPRESS_1FRAG_ONLY_MASK     = 0x08000000L;
    constexpr unsigned int CB_COLOR3_INFO__FORMAT_MASK                        = 0x0000007cL;
    constexpr unsigned int CB_COLOR4_CLEAR_WORD0__CLEAR_WORD0_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR4_CLEAR_WORD1__CLEAR_WORD1_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR4_CMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR4_CMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__COLOR_TRANSFORM_MASK        = 0x00000180L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__INDEPENDENT_64B_BLOCKS_MASK = 0x00000200L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__KEY_CLEAR_ENABLE_MASK       = 0x00000002L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__LOSSY_ALPHA_PRECISION_MASK  = 0x0003c000L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__LOSSY_RGB_PRECISION_MASK    = 0x00003c00L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__MAX_COMPRESSED_BLOCK_SIZE_MASK = 0x00000060L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__MAX_UNCOMPRESSED_BLOCK_SIZE_MASK = 0x0000000cL;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__MIN_COMPRESSED_BLOCK_SIZE_MASK = 0x00000010L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int CB_COLOR4_FMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR4_FMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR4_INFO__CMASK_ADDR_TYPE_MASK               = 0x60000000L;
    constexpr unsigned int CB_COLOR4_INFO__COMPRESSION_MASK                   = 0x00004000L;
    constexpr unsigned int CB_COLOR4_INFO__DCC_ENABLE_MASK                    = 0x10000000L;
    constexpr unsigned int CB_COLOR4_INFO__ENDIAN_MASK                        = 0x00000003L;
    constexpr unsigned int CB_COLOR4_INFO__FAST_CLEAR_MASK                    = 0x00002000L;
    constexpr unsigned int CB_COLOR4_INFO__FMASK_COMPRESSION_DISABLE_MASK     = 0x04000000L;
    constexpr unsigned int CB_COLOR4_INFO__FMASK_COMPRESS_1FRAG_ONLY_MASK     = 0x08000000L;
    constexpr unsigned int CB_COLOR4_INFO__FORMAT_MASK                        = 0x0000007cL;
    constexpr unsigned int CB_COLOR5_CLEAR_WORD0__CLEAR_WORD0_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR5_CLEAR_WORD1__CLEAR_WORD1_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR5_CMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR5_CMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__COLOR_TRANSFORM_MASK        = 0x00000180L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__INDEPENDENT_64B_BLOCKS_MASK = 0x00000200L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__KEY_CLEAR_ENABLE_MASK       = 0x00000002L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__LOSSY_ALPHA_PRECISION_MASK  = 0x0003c000L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__LOSSY_RGB_PRECISION_MASK    = 0x00003c00L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__MAX_COMPRESSED_BLOCK_SIZE_MASK = 0x00000060L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__MAX_UNCOMPRESSED_BLOCK_SIZE_MASK = 0x0000000cL;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__MIN_COMPRESSED_BLOCK_SIZE_MASK = 0x00000010L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int CB_COLOR5_FMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR5_FMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR5_INFO__CMASK_ADDR_TYPE_MASK               = 0x60000000L;
    constexpr unsigned int CB_COLOR5_INFO__COMPRESSION_MASK                   = 0x00004000L;
    constexpr unsigned int CB_COLOR5_INFO__DCC_ENABLE_MASK                    = 0x10000000L;
    constexpr unsigned int CB_COLOR5_INFO__ENDIAN_MASK                        = 0x00000003L;
    constexpr unsigned int CB_COLOR5_INFO__FAST_CLEAR_MASK                    = 0x00002000L;
    constexpr unsigned int CB_COLOR5_INFO__FMASK_COMPRESSION_DISABLE_MASK     = 0x04000000L;
    constexpr unsigned int CB_COLOR5_INFO__FMASK_COMPRESS_1FRAG_ONLY_MASK     = 0x08000000L;
    constexpr unsigned int CB_COLOR5_INFO__FORMAT_MASK                        = 0x0000007cL;
    constexpr unsigned int CB_COLOR6_CLEAR_WORD0__CLEAR_WORD0_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR6_CLEAR_WORD1__CLEAR_WORD1_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR6_CMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR6_CMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__COLOR_TRANSFORM_MASK        = 0x00000180L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__INDEPENDENT_64B_BLOCKS_MASK = 0x00000200L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__KEY_CLEAR_ENABLE_MASK       = 0x00000002L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__LOSSY_ALPHA_PRECISION_MASK  = 0x0003c000L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__LOSSY_RGB_PRECISION_MASK    = 0x00003c00L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__MAX_COMPRESSED_BLOCK_SIZE_MASK = 0x00000060L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__MAX_UNCOMPRESSED_BLOCK_SIZE_MASK = 0x0000000cL;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__MIN_COMPRESSED_BLOCK_SIZE_MASK = 0x00000010L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int CB_COLOR6_FMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR6_FMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR6_INFO__CMASK_ADDR_TYPE_MASK               = 0x60000000L;
    constexpr unsigned int CB_COLOR6_INFO__COMPRESSION_MASK                   = 0x00004000L;
    constexpr unsigned int CB_COLOR6_INFO__DCC_ENABLE_MASK                    = 0x10000000L;
    constexpr unsigned int CB_COLOR6_INFO__ENDIAN_MASK                        = 0x00000003L;
    constexpr unsigned int CB_COLOR6_INFO__FAST_CLEAR_MASK                    = 0x00002000L;
    constexpr unsigned int CB_COLOR6_INFO__FMASK_COMPRESSION_DISABLE_MASK     = 0x04000000L;
    constexpr unsigned int CB_COLOR6_INFO__FMASK_COMPRESS_1FRAG_ONLY_MASK     = 0x08000000L;
    constexpr unsigned int CB_COLOR6_INFO__FORMAT_MASK                        = 0x0000007cL;
    constexpr unsigned int CB_COLOR7_CLEAR_WORD0__CLEAR_WORD0_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR7_CLEAR_WORD1__CLEAR_WORD1_MASK            = 0xffffffffL;
    constexpr unsigned int CB_COLOR7_CMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR7_CMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__COLOR_TRANSFORM_MASK        = 0x00000180L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__INDEPENDENT_64B_BLOCKS_MASK = 0x00000200L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__KEY_CLEAR_ENABLE_MASK       = 0x00000002L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__LOSSY_ALPHA_PRECISION_MASK  = 0x0003c000L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__LOSSY_RGB_PRECISION_MASK    = 0x00003c00L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__MAX_COMPRESSED_BLOCK_SIZE_MASK = 0x00000060L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__MAX_UNCOMPRESSED_BLOCK_SIZE_MASK = 0x0000000cL;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__MIN_COMPRESSED_BLOCK_SIZE_MASK = 0x00000010L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int CB_COLOR7_FMASK_BASE_EXT__BASE_256B_MASK           = 0x000000ffL;
    constexpr unsigned int CB_COLOR7_FMASK__BASE_256B_MASK                    = 0xffffffffL;
    constexpr unsigned int CB_COLOR7_INFO__CMASK_ADDR_TYPE_MASK               = 0x60000000L;
    constexpr unsigned int CB_COLOR7_INFO__COMPRESSION_MASK                   = 0x00004000L;
    constexpr unsigned int CB_COLOR7_INFO__DCC_ENABLE_MASK                    = 0x10000000L;
    constexpr unsigned int CB_COLOR7_INFO__ENDIAN_MASK                        = 0x00000003L;
    constexpr unsigned int CB_COLOR7_INFO__FAST_CLEAR_MASK                    = 0x00002000L;
    constexpr unsigned int CB_COLOR7_INFO__FMASK_COMPRESSION_DISABLE_MASK     = 0x04000000L;
    constexpr unsigned int CB_COLOR7_INFO__FMASK_COMPRESS_1FRAG_ONLY_MASK     = 0x08000000L;
    constexpr unsigned int CB_COLOR7_INFO__FORMAT_MASK                        = 0x0000007cL;
    constexpr unsigned int CB_DCC_CONFIG__OVERWRITE_COMBINER_CC_POP_DISABLE_MASK = 0x00000040L;
    constexpr unsigned int CB_DCC_CONFIG__OVERWRITE_COMBINER_DEPTH_MASK       = 0x0000001fL;
    constexpr unsigned int CB_DCC_CONFIG__OVERWRITE_COMBINER_DISABLE_MASK     = 0x00000020L;
    constexpr unsigned int CB_DCC_CONTROL__OVERWRITE_COMBINER_DISABLE_MASK    = 0x00000001L;
    constexpr unsigned int CB_DCC_CONTROL__OVERWRITE_COMBINER_WATERMARK_MASK  = 0x0000007cL;
    constexpr unsigned int CB_HW_CONTROL_1__CM_CACHE_NUM_TAGS_MASK            = 0x0000001fL;
    constexpr unsigned int CB_HW_CONTROL_2__FC_RDLAT_QUAD_FIFO_DEPTH_MASK     = 0x007f8000L;
    constexpr unsigned int CB_HW_CONTROL_2__FC_RDLAT_TILE_FIFO_DEPTH_MASK     = 0x00007f00L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_CC_CACHE_OVWR_STATUS_ACCUM_MASK = 0x00000020L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_CC_CACHE_PANIC_GATING_MASK = 0x00000080L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_CMASK_LAST_QUAD_INSERTION_MASK = 0x00000800L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_EARLY_WRACKS_CC_MASK      = 0x00020000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_EARLY_WRACKS_CM_MASK      = 0x00100000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_EARLY_WRACKS_DC_MASK      = 0x00080000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_EARLY_WRACKS_FC_MASK      = 0x00040000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_NACK_COLOR_RD_WR_OPT_MASK = 0x02000000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_NACK_PROCESSING_CC_MASK   = 0x00200000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_NACK_PROCESSING_CM_MASK   = 0x01000000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_NACK_PROCESSING_DC_MASK   = 0x00800000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_NACK_PROCESSING_FC_MASK   = 0x00400000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_OC_FIXES_OF_BUG_522542_MASK = 0x00004000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_OVERWRITE_COMBINER_CAM_CLR_MASK = 0x00000010L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_QUAD_MARKER_DROP_STOP_MASK = 0x00000008L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_ROP3_FIXES_OF_BUG_511967_MASK = 0x00001000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_ROP3_FIXES_OF_BUG_520657_MASK = 0x00002000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_SHADER_BLEND_OPTS_MASK    = 0x00000400L;
    constexpr unsigned int CB_HW_CONTROL_3__FORCE_RMI_CLKEN_HIGH_MASK         = 0x00010000L;
    constexpr unsigned int CB_HW_CONTROL_3__FORCE_RMI_LAST_HIGH_MASK          = 0x00008000L;
    constexpr unsigned int CB_HW_CONTROL_3__SPLIT_ALL_FAST_MODE_TRANSFERS_MASK = 0x00000200L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_RESOLVE_OPT_FOR_SINGLE_FRAG_MASK = 0x00800000L;
    constexpr unsigned int CB_HW_CONTROL__PRIORITIZE_FC_WR_OVER_FC_RD_ON_CMASK_CONFLICT_MASK = 0x10000000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__SCALE_AGE_MASK               = 0x03800000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__SCALE_WEIGHT_MASK            = 0x1c000000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__SEND_LASTS_WITHIN_GROUPS_MASK = 0x20000000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__WEIGHT_CM_MASK               = 0x0000c000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__WEIGHT_DC_MASK               = 0x00030000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__WEIGHT_DECAY_NOREQS_MASK     = 0x00300000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__WEIGHT_DECAY_REQS_MASK       = 0x000c0000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__WEIGHT_FC_MASK               = 0x00003000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_RD__WEIGHT_IGNORE_NUM_TIDS_MASK  = 0x00400000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__SCALE_AGE_MASK               = 0x03800000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__SCALE_WEIGHT_MASK            = 0x1c000000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__SEND_LASTS_WITHIN_GROUPS_MASK = 0x20000000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__WEIGHT_CM_MASK               = 0x0000c000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__WEIGHT_DC_MASK               = 0x00030000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__WEIGHT_DECAY_NOREQS_MASK     = 0x00300000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__WEIGHT_DECAY_REQS_MASK       = 0x000c0000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__WEIGHT_FC_MASK               = 0x00003000L;
    constexpr unsigned int CB_HW_MEM_ARBITER_WR__WEIGHT_IGNORE_BYTE_MASK_MASK = 0x00400000L;
    constexpr unsigned int COMPUTE_MISC_RESERVED__RESERVED2_MASK              = 0x00000004L;
    constexpr unsigned int COMPUTE_MISC_RESERVED__SEND_SEID_MASK              = 0x00000003L;
    constexpr unsigned int CP_COHER_BASE_HI__COHER_BASE_HI_256B_MASK          = 0x000000ffL;
    constexpr unsigned int CP_COHER_BASE__COHER_BASE_256B_MASK                = 0xffffffffL;
    constexpr unsigned int CP_COHER_CNTL__CB_ACTION_ENA_MASK                  = 0x02000000L;
    constexpr unsigned int CP_COHER_CNTL__DB_ACTION_ENA_MASK                  = 0x04000000L;
    constexpr unsigned int CP_COHER_CNTL__SH_ICACHE_ACTION_ENA_MASK           = 0x20000000L;
    constexpr unsigned int CP_COHER_CNTL__SH_KCACHE_ACTION_ENA_MASK           = 0x08000000L;
    constexpr unsigned int CP_COHER_CNTL__SH_KCACHE_VOL_ACTION_ENA_MASK       = 0x10000000L;
    constexpr unsigned int CP_COHER_CNTL__SH_KCACHE_WB_ACTION_ENA_MASK        = 0x40000000L;
    constexpr unsigned int CP_COHER_CNTL__TCL1_ACTION_ENA_MASK                = 0x00400000L;
    constexpr unsigned int CP_COHER_CNTL__TCL1_VOL_ACTION_ENA_MASK            = 0x00008000L;
    constexpr unsigned int CP_COHER_CNTL__TC_ACTION_ENA_MASK                  = 0x00800000L;
    constexpr unsigned int CP_COHER_CNTL__TC_INV_METADATA_ACTION_ENA_MASK     = 0x00000020L;
    constexpr unsigned int CP_COHER_CNTL__TC_NC_ACTION_ENA_MASK               = 0x00000008L;
    constexpr unsigned int CP_COHER_CNTL__TC_WB_ACTION_ENA_MASK               = 0x00040000L;
    constexpr unsigned int CP_COHER_CNTL__TC_WC_ACTION_ENA_MASK               = 0x00000010L;
    constexpr unsigned int CP_COHER_SIZE_HI__COHER_SIZE_HI_256B_MASK          = 0x000000ffL;
    constexpr unsigned int CP_COHER_SIZE__COHER_SIZE_256B_MASK                = 0xffffffffL;
    constexpr unsigned int CP_COHER_START_DELAY__START_DELAY_COUNT_MASK       = 0x0000003fL;
    constexpr unsigned int CP_COHER_STATUS__MEID_MASK                         = 0x03000000L;
    constexpr unsigned int CP_COHER_STATUS__STATUS_MASK                       = 0x80000000L;
    constexpr unsigned int CP_NUM_PRIM_NEEDED_COUNT0_HI__NUM_PRIM_NEEDED_CNT0_HI_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_NEEDED_COUNT0_LO__NUM_PRIM_NEEDED_CNT0_LO_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_NEEDED_COUNT1_HI__NUM_PRIM_NEEDED_CNT1_HI_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_NEEDED_COUNT1_LO__NUM_PRIM_NEEDED_CNT1_LO_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_NEEDED_COUNT2_HI__NUM_PRIM_NEEDED_CNT2_HI_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_NEEDED_COUNT2_LO__NUM_PRIM_NEEDED_CNT2_LO_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_NEEDED_COUNT3_HI__NUM_PRIM_NEEDED_CNT3_HI_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_NEEDED_COUNT3_LO__NUM_PRIM_NEEDED_CNT3_LO_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_WRITTEN_COUNT0_HI__NUM_PRIM_WRITTEN_CNT0_HI_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_WRITTEN_COUNT0_LO__NUM_PRIM_WRITTEN_CNT0_LO_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_WRITTEN_COUNT1_HI__NUM_PRIM_WRITTEN_CNT1_HI_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_WRITTEN_COUNT1_LO__NUM_PRIM_WRITTEN_CNT1_LO_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_WRITTEN_COUNT2_HI__NUM_PRIM_WRITTEN_CNT2_HI_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_WRITTEN_COUNT2_LO__NUM_PRIM_WRITTEN_CNT2_LO_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_WRITTEN_COUNT3_HI__NUM_PRIM_WRITTEN_CNT3_HI_MASK = 0xffffffffL;
    constexpr unsigned int CP_NUM_PRIM_WRITTEN_COUNT3_LO__NUM_PRIM_WRITTEN_CNT3_LO_MASK = 0xffffffffL;
    constexpr unsigned int CP_STRMOUT_CNTL__OFFSET_UPDATE_DONE_MASK           = 0x00000001L;
    constexpr unsigned int DB_CREDIT_LIMIT__DB_CB_TILE_CREDITS_MASK           = 0x7f000000L;
    constexpr unsigned int DB_RENDER_OVERRIDE__FORCE_QC_SMASK_CONFLICT_MASK   = 0x00008000L;
    constexpr unsigned int DB_SHADER_CONTROL__EXEC_IF_OVERLAPPED_MASK         = 0x00020000L;
    constexpr unsigned int DB_SHADER_CONTROL__POPS_OVERLAP_NUM_SAMPLES_MASK   = 0x00700000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM__PARTIAL_ES_WAVE_ON_MASK        = 0x00040000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM__PARTIAL_VS_WAVE_ON_MASK        = 0x00010000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM__PRIMGROUP_SIZE_MASK            = 0x0000ffffL;
    constexpr unsigned int IA_MULTI_VGT_PARAM__SWITCH_ON_EOI_MASK             = 0x00080000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM__SWITCH_ON_EOP_MASK             = 0x00020000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM__WD_SWITCH_ON_EOP_MASK          = 0x00100000L;
    constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_GS_CUT_FLAG_MASK        = 0x02000000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__ZPASS_DONE_MASK         = 0x00000c00L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__ENABLE_LEGACY_PIPELINE_MASK = 0x30000000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_SC_PIPELINE_RESET_LEGACY_MODE_TRANSITION_MASK = 0x00008000L;
    constexpr unsigned int PA_SC_ENHANCE_1__ECO_SPARE0_MASK                   = 0x00000020L;
    constexpr unsigned int PA_SIDEBAND_REQUEST_DELAYS__INITIAL_DELAY_MASK     = 0xffff0000L;
    constexpr unsigned int PA_SIDEBAND_REQUEST_DELAYS__RETRY_DELAY_MASK       = 0x0000ffffL;
    constexpr unsigned int PA_SU_LINE_STIPPLE_CNTL__DIAMOND_ADJUST_MASK       = 0x00000010L;
    constexpr unsigned int RLC_PERFMON_CLK_CNTL__PERFMON_CLOCK_STATE_MASK     = 0x00000001L;
    constexpr unsigned int RLC_SPM_GLOBAL_MUXSEL_DATA__PERFMON_SEL_DATA_MASK  = 0xffffffffL;
    constexpr unsigned int RLC_SPM_PERFMON_SEGMENT_SIZE__GLOBAL_NUM_LINE_MASK = 0x0000f800L;
    constexpr unsigned int RLC_SPM_PERFMON_SEGMENT_SIZE__PERFMON_SEGMENT_SIZE_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_PERFMON_SEGMENT_SIZE__RESERVED1_MASK       = 0x00000700L;
    constexpr unsigned int RLC_SPM_PERFMON_SEGMENT_SIZE__RESERVED_MASK        = 0x80000000L;
    constexpr unsigned int RLC_SPM_PERFMON_SEGMENT_SIZE__SE0_NUM_LINE_MASK    = 0x001f0000L;
    constexpr unsigned int RLC_SPM_PERFMON_SEGMENT_SIZE__SE1_NUM_LINE_MASK    = 0x03e00000L;
    constexpr unsigned int RLC_SPM_PERFMON_SEGMENT_SIZE__SE2_NUM_LINE_MASK    = 0x7c000000L;
    constexpr unsigned int RLC_SPM_SE_MUXSEL_DATA__PERFMON_SEL_DATA_MASK      = 0xffffffffL;
    constexpr unsigned int SPI_CONFIG_CNTL__TTRACE_STALL_ALL_MASK             = 0x08000000L;
    constexpr unsigned int SPI_SHADER_LATE_ALLOC_VS__LIMIT_MASK               = 0x0000003fL;
    constexpr unsigned int SPI_SHADER_PGM_HI_VS__MEM_BASE_MASK                = 0x000000ffL;
    constexpr unsigned int SPI_SHADER_PGM_LO_VS__MEM_BASE_MASK                = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__CDBG_USER_MASK            = 0x40000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__CU_GROUP_ENABLE_MASK      = 0x04000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__DEBUG_MODE_MASK           = 0x00400000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__DX10_CLAMP_MASK           = 0x00200000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__FLOAT_MODE_MASK           = 0x000ff000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__FP16_OVFL_MASK            = 0x80000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__IEEE_MODE_MASK            = 0x00800000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__PRIORITY_MASK             = 0x00000c00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__PRIV_MASK                 = 0x00100000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__SGPRS_MASK                = 0x000003c0L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__VGPRS_MASK                = 0x0000003fL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__VGPR_COMP_CNT_MASK        = 0x03000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__EXCP_EN_MASK           = 0x0000ff80L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__LDS_SIZE_MASK          = 0x07f80000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__OC_LDS_EN_MASK         = 0x00040000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__SCRATCH_EN_MASK        = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__SKIP_USGPR0_MASK       = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__TRAP_PRESENT_MASK      = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__USER_SGPR_MASK         = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__USER_SGPR_MSB_MASK     = 0x10000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS_VS__VGPR_COMP_CNT_MASK     = 0x00030000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__EXCP_EN_MASK              = 0x003fe000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__OC_LDS_EN_MASK            = 0x00000080L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__PC_BASE_EN_MASK           = 0x00400000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__SCRATCH_EN_MASK           = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__SO_BASE0_EN_MASK          = 0x00000100L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__SO_BASE1_EN_MASK          = 0x00000200L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__SO_BASE2_EN_MASK          = 0x00000400L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__SO_BASE3_EN_MASK          = 0x00000800L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__SO_EN_MASK                = 0x00001000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__TRAP_PRESENT_MASK         = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__USER_SGPR_MASK            = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_VS__CU_EN_MASK                = 0x0000ffffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_VS__LOCK_LOW_THRESHOLD_MASK   = 0x03c00000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_VS__WAVE_LIMIT_MASK           = 0x003f0000L;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_0__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_1__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_2__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_3__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_4__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_5__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_6__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_7__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_8__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_9__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_10__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_11__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_12__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_13__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_14__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_15__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_16__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_17__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_18__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_19__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_20__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_21__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_22__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_23__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_24__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_25__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_26__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_27__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_28__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_29__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_30__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_VS_31__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_VS_OUT_CONFIG__VS_HALF_PACK_MASK               = 0x00000040L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_1__INT_SENT_MASK            = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_1__MAX_CNT_MASK             = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_8__INT_SENT_MASK            = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_8__MAX_CNT_MASK             = 0x7fffffffL;
    constexpr unsigned int SQ_CONFIG__DISABLE_SP_REDUNDANT_THREAD_GATING_MASK = 0x20000000L;
    constexpr unsigned int SQ_CONFIG__ENABLE_HIPRIO_ON_EXP_RDY_VS_MASK        = 0x00040000L;
    constexpr unsigned int SQ_CONFIG__PRIO_VAL_ON_EXP_RDY_VS_MASK             = 0x00180000L;
    constexpr unsigned int SQ_LB_CTR_CTRL__CLEAR_MASK                         = 0x00000004L;
    constexpr unsigned int SQ_LB_CTR_CTRL__LOAD_MASK                          = 0x00000002L;
    constexpr unsigned int SQ_LB_CTR_CTRL__START_MASK                         = 0x00000001L;
    constexpr unsigned int SQ_LB_DATA0__DATA_MASK                             = 0xffffffffL;
    constexpr unsigned int SQ_LB_DATA1__DATA_MASK                             = 0xffffffffL;
    constexpr unsigned int SQ_LB_DATA2__DATA_MASK                             = 0xffffffffL;
    constexpr unsigned int SQ_LB_DATA3__DATA_MASK                             = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER4_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER5_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER6_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER7_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER8_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER8_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER9_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER9_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER10_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER10_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER11_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER11_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER12_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER12_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER13_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER13_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER14_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER14_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER15_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER15_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__DISABLE_FLUSH_MASK            = 0x00002000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__VS_EN_MASK                    = 0x00000002L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__AUTO_INVLD_EN_MASK         = 0x000000c0L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__CACHE_INVALIDATION_MASK    = 0x00000003L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__DIS_INSTANCING_OPT_MASK    = 0x00000010L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__DIS_RANGE_FULL_INVLD_MASK  = 0x00000800L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__ENABLE_PING_PONG_EOI_MASK  = 0x20000000L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__ENABLE_PING_PONG_MASK      = 0x00200000L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__EN_WAVE_MERGE_MASK         = 0x10000000L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__ES_LIMIT_MASK              = 0x001f0000L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__GS_LATE_ALLOC_EN_MASK      = 0x00001000L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__OPT_FLOW_CNTL_1_MASK       = 0x01c00000L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__OPT_FLOW_CNTL_2_MASK       = 0x0e000000L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__STREAMOUT_FULL_FLUSH_MASK  = 0x00002000L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__USE_GS_DONE_MASK           = 0x00000200L;
    constexpr unsigned int VGT_CACHE_INVALIDATION__VS_NO_EXTRA_BUFFER_MASK    = 0x00000020L;
    constexpr unsigned int VGT_DMA_CONTROL__IA_SWITCH_ON_EOP_MASK             = 0x00020000L;
    constexpr unsigned int VGT_DMA_CONTROL__PRIMGROUP_SIZE_MASK               = 0x0000ffffL;
    constexpr unsigned int VGT_DMA_CONTROL__SWITCH_ON_EOI_MASK                = 0x00080000L;
    constexpr unsigned int VGT_DMA_CONTROL__WD_SWITCH_ON_EOP_MASK             = 0x00100000L;
    constexpr unsigned int VGT_DMA_EVENT_INITIATOR__ADDRESS_HI_MASK           = 0x07fffc00L;
    constexpr unsigned int VGT_DMA_EVENT_INITIATOR__EVENT_TYPE_MASK           = 0x0000003fL;
    constexpr unsigned int VGT_DMA_EVENT_INITIATOR__EXTENDED_EVENT_MASK       = 0x08000000L;
    constexpr unsigned int VGT_DMA_LS_HS_CONFIG__HS_NUM_INPUT_CP_MASK         = 0x00003f00L;
    constexpr unsigned int VGT_DMA_PRIMITIVE_TYPE__PRIM_TYPE_MASK             = 0x0000003fL;
    constexpr unsigned int VGT_ES_PER_GS__ES_PER_GS_MASK                      = 0x000007ffL;
    constexpr unsigned int VGT_FIFO_DEPTHS__CLIPP_FIFO_DEPTH_MASK             = 0x003fff00L;
    constexpr unsigned int VGT_FIFO_DEPTHS__RESERVED_0_MASK                   = 0x00000080L;
    constexpr unsigned int VGT_FIFO_DEPTHS__VS_DEALLOC_TBL_DEPTH_MASK         = 0x0000007fL;
    constexpr unsigned int VGT_GROUP_DECR__DECR_MASK                          = 0x0000000fL;
    constexpr unsigned int VGT_GROUP_FIRST_DECR__FIRST_DECR_MASK              = 0x0000000fL;
    constexpr unsigned int VGT_GROUP_PRIM_TYPE__PRIM_ORDER_MASK               = 0x00070000L;
    constexpr unsigned int VGT_GROUP_PRIM_TYPE__PRIM_TYPE_MASK                = 0x0000001fL;
    constexpr unsigned int VGT_GROUP_PRIM_TYPE__RETAIN_ORDER_MASK             = 0x00004000L;
    constexpr unsigned int VGT_GROUP_PRIM_TYPE__RETAIN_QUADS_MASK             = 0x00008000L;
    constexpr unsigned int VGT_GROUP_VECT_0_CNTL__COMP_W_EN_MASK              = 0x00000008L;
    constexpr unsigned int VGT_GROUP_VECT_0_CNTL__COMP_X_EN_MASK              = 0x00000001L;
    constexpr unsigned int VGT_GROUP_VECT_0_CNTL__COMP_Y_EN_MASK              = 0x00000002L;
    constexpr unsigned int VGT_GROUP_VECT_0_CNTL__COMP_Z_EN_MASK              = 0x00000004L;
    constexpr unsigned int VGT_GROUP_VECT_0_CNTL__SHIFT_MASK                  = 0x00ff0000L;
    constexpr unsigned int VGT_GROUP_VECT_0_CNTL__STRIDE_MASK                 = 0x0000ff00L;
    constexpr unsigned int VGT_GROUP_VECT_0_FMT_CNTL__W_CONV_MASK             = 0x0f000000L;
    constexpr unsigned int VGT_GROUP_VECT_0_FMT_CNTL__W_OFFSET_MASK           = 0xf0000000L;
    constexpr unsigned int VGT_GROUP_VECT_0_FMT_CNTL__X_CONV_MASK             = 0x0000000fL;
    constexpr unsigned int VGT_GROUP_VECT_0_FMT_CNTL__X_OFFSET_MASK           = 0x000000f0L;
    constexpr unsigned int VGT_GROUP_VECT_0_FMT_CNTL__Y_CONV_MASK             = 0x00000f00L;
    constexpr unsigned int VGT_GROUP_VECT_0_FMT_CNTL__Y_OFFSET_MASK           = 0x0000f000L;
    constexpr unsigned int VGT_GROUP_VECT_0_FMT_CNTL__Z_CONV_MASK             = 0x000f0000L;
    constexpr unsigned int VGT_GROUP_VECT_0_FMT_CNTL__Z_OFFSET_MASK           = 0x00f00000L;
    constexpr unsigned int VGT_GROUP_VECT_1_CNTL__COMP_W_EN_MASK              = 0x00000008L;
    constexpr unsigned int VGT_GROUP_VECT_1_CNTL__COMP_X_EN_MASK              = 0x00000001L;
    constexpr unsigned int VGT_GROUP_VECT_1_CNTL__COMP_Y_EN_MASK              = 0x00000002L;
    constexpr unsigned int VGT_GROUP_VECT_1_CNTL__COMP_Z_EN_MASK              = 0x00000004L;
    constexpr unsigned int VGT_GROUP_VECT_1_CNTL__SHIFT_MASK                  = 0x00ff0000L;
    constexpr unsigned int VGT_GROUP_VECT_1_CNTL__STRIDE_MASK                 = 0x0000ff00L;
    constexpr unsigned int VGT_GROUP_VECT_1_FMT_CNTL__W_CONV_MASK             = 0x0f000000L;
    constexpr unsigned int VGT_GROUP_VECT_1_FMT_CNTL__W_OFFSET_MASK           = 0xf0000000L;
    constexpr unsigned int VGT_GROUP_VECT_1_FMT_CNTL__X_CONV_MASK             = 0x0000000fL;
    constexpr unsigned int VGT_GROUP_VECT_1_FMT_CNTL__X_OFFSET_MASK           = 0x000000f0L;
    constexpr unsigned int VGT_GROUP_VECT_1_FMT_CNTL__Y_CONV_MASK             = 0x00000f00L;
    constexpr unsigned int VGT_GROUP_VECT_1_FMT_CNTL__Y_OFFSET_MASK           = 0x0000f000L;
    constexpr unsigned int VGT_GROUP_VECT_1_FMT_CNTL__Z_CONV_MASK             = 0x000f0000L;
    constexpr unsigned int VGT_GROUP_VECT_1_FMT_CNTL__Z_OFFSET_MASK           = 0x00f00000L;
    constexpr unsigned int VGT_GSVS_RING_ITEMSIZE__ITEMSIZE_MASK              = 0x00007fffL;
    constexpr unsigned int VGT_GSVS_RING_OFFSET_1__OFFSET_MASK                = 0x00007fffL;
    constexpr unsigned int VGT_GSVS_RING_OFFSET_2__OFFSET_MASK                = 0x00007fffL;
    constexpr unsigned int VGT_GSVS_RING_OFFSET_3__OFFSET_MASK                = 0x00007fffL;
    constexpr unsigned int VGT_GSVS_RING_SIZE__MEM_SIZE_MASK                  = 0xffffffffL;
    constexpr unsigned int VGT_GS_MODE__CUT_MODE_MASK                         = 0x00000030L;
    constexpr unsigned int VGT_GS_MODE__ES_PASSTHRU_MASK                      = 0x00002000L;
    constexpr unsigned int VGT_GS_MODE__ES_WRITE_OPTIMIZE_MASK                = 0x00080000L;
    constexpr unsigned int VGT_GS_MODE__GS_C_PACK_EN_MASK                     = 0x00000800L;
    constexpr unsigned int VGT_GS_MODE__GS_WRITE_OPTIMIZE_MASK                = 0x00100000L;
    constexpr unsigned int VGT_GS_MODE__MODE_MASK                             = 0x00000007L;
    constexpr unsigned int VGT_GS_MODE__ONCHIP_MASK                           = 0x00600000L;
    constexpr unsigned int VGT_GS_MODE__PARTIAL_THD_AT_EOI_MASK               = 0x00020000L;
    constexpr unsigned int VGT_GS_MODE__RESERVED_0_MASK                       = 0x00000008L;
    constexpr unsigned int VGT_GS_MODE__RESERVED_1_MASK                       = 0x000007c0L;
    constexpr unsigned int VGT_GS_MODE__RESERVED_2_MASK                       = 0x00001000L;
    constexpr unsigned int VGT_GS_MODE__SUPPRESS_CUTS_MASK                    = 0x00040000L;
    constexpr unsigned int VGT_GS_ONCHIP_CNTL__ES_VERTS_PER_SUBGRP_MASK       = 0x000007ffL;
    constexpr unsigned int VGT_GS_ONCHIP_CNTL__GS_INST_PRIMS_IN_SUBGRP_MASK   = 0xffc00000L;
    constexpr unsigned int VGT_GS_ONCHIP_CNTL__GS_PRIMS_PER_SUBGRP_MASK       = 0x003ff800L;
    constexpr unsigned int VGT_GS_OUT_PRIM_TYPE__OUTPRIM_TYPE_1_MASK          = 0x00003f00L;
    constexpr unsigned int VGT_GS_OUT_PRIM_TYPE__OUTPRIM_TYPE_2_MASK          = 0x003f0000L;
    constexpr unsigned int VGT_GS_OUT_PRIM_TYPE__OUTPRIM_TYPE_3_MASK          = 0x0fc00000L;
    constexpr unsigned int VGT_GS_OUT_PRIM_TYPE__UNIQUE_TYPE_PER_STREAM_MASK  = 0x80000000L;
    constexpr unsigned int VGT_GS_PER_ES__GS_PER_ES_MASK                      = 0x000007ffL;
    constexpr unsigned int VGT_GS_PER_VS__GS_PER_VS_MASK                      = 0x0000000fL;
    constexpr unsigned int VGT_GS_VERTEX_REUSE__VERT_REUSE_MASK               = 0x0000001fL;
    constexpr unsigned int VGT_GS_VERT_ITEMSIZE_1__ITEMSIZE_MASK              = 0x00007fffL;
    constexpr unsigned int VGT_GS_VERT_ITEMSIZE_2__ITEMSIZE_MASK              = 0x00007fffL;
    constexpr unsigned int VGT_GS_VERT_ITEMSIZE_3__ITEMSIZE_MASK              = 0x00007fffL;
    constexpr unsigned int VGT_GS_VERT_ITEMSIZE__ITEMSIZE_MASK                = 0x00007fffL;
    constexpr unsigned int VGT_HOS_CNTL__TESS_MODE_MASK                       = 0x00000003L;
    constexpr unsigned int VGT_HOS_REUSE_DEPTH__REUSE_DEPTH_MASK              = 0x000000ffL;
    constexpr unsigned int VGT_IMMED_DATA__DATA_MASK                          = 0xffffffffL;
    constexpr unsigned int VGT_INDX_OFFSET__INDX_OFFSET_MASK                  = 0xffffffffL;
    constexpr unsigned int VGT_INSTANCE_STEP_RATE_0__STEP_RATE_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_INSTANCE_STEP_RATE_1__STEP_RATE_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_LAST_COPY_STATE__DST_STATE_ID_MASK             = 0x00070000L;
    constexpr unsigned int VGT_LAST_COPY_STATE__SRC_STATE_ID_MASK             = 0x00000007L;
    constexpr unsigned int VGT_MAX_VTX_INDX__MAX_INDX_MASK                    = 0xffffffffL;
    constexpr unsigned int VGT_MIN_VTX_INDX__MIN_INDX_MASK                    = 0xffffffffL;
    constexpr unsigned int VGT_MULTI_PRIM_IB_RESET_EN__MATCH_ALL_BITS_MASK    = 0x00000002L;
    constexpr unsigned int VGT_MULTI_PRIM_IB_RESET_EN__RESET_EN_MASK          = 0x00000001L;
    constexpr unsigned int VGT_OUTPUT_PATH_CNTL__PATH_SELECT_MASK             = 0x00000007L;
    constexpr unsigned int VGT_OUT_DEALLOC_CNTL__DEALLOC_DIST_MASK            = 0x0000007fL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_CONFIG__STREAM_0_BUFFER_EN_MASK = 0x0000000fL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_CONFIG__STREAM_1_BUFFER_EN_MASK = 0x000000f0L;
    constexpr unsigned int VGT_STRMOUT_BUFFER_CONFIG__STREAM_2_BUFFER_EN_MASK = 0x00000f00L;
    constexpr unsigned int VGT_STRMOUT_BUFFER_CONFIG__STREAM_3_BUFFER_EN_MASK = 0x0000f000L;
    constexpr unsigned int VGT_STRMOUT_BUFFER_FILLED_SIZE_0__SIZE_MASK        = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_FILLED_SIZE_1__SIZE_MASK        = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_FILLED_SIZE_2__SIZE_MASK        = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_FILLED_SIZE_3__SIZE_MASK        = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_OFFSET_0__OFFSET_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_OFFSET_1__OFFSET_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_OFFSET_2__OFFSET_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_OFFSET_3__OFFSET_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_SIZE_0__SIZE_MASK               = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_SIZE_1__SIZE_MASK               = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_SIZE_2__SIZE_MASK               = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_BUFFER_SIZE_3__SIZE_MASK               = 0xffffffffL;
    constexpr unsigned int VGT_STRMOUT_CONFIG__EN_PRIMS_NEEDED_CNT_MASK       = 0x00000080L;
    constexpr unsigned int VGT_STRMOUT_CONFIG__RAST_STREAM_MASK               = 0x00000070L;
    constexpr unsigned int VGT_STRMOUT_CONFIG__RAST_STREAM_MASK_MASK          = 0x00000f00L;
    constexpr unsigned int VGT_STRMOUT_CONFIG__STREAMOUT_0_EN_MASK            = 0x00000001L;
    constexpr unsigned int VGT_STRMOUT_CONFIG__STREAMOUT_1_EN_MASK            = 0x00000002L;
    constexpr unsigned int VGT_STRMOUT_CONFIG__STREAMOUT_2_EN_MASK            = 0x00000004L;
    constexpr unsigned int VGT_STRMOUT_CONFIG__STREAMOUT_3_EN_MASK            = 0x00000008L;
    constexpr unsigned int VGT_STRMOUT_CONFIG__USE_RAST_STREAM_MASK_MASK      = 0x80000000L;
    constexpr unsigned int VGT_STRMOUT_DELAY__SE0_WD_DELAY_MASK               = 0x00000700L;
    constexpr unsigned int VGT_STRMOUT_DELAY__SE1_WD_DELAY_MASK               = 0x00003800L;
    constexpr unsigned int VGT_STRMOUT_DELAY__SE2_WD_DELAY_MASK               = 0x0001c000L;
    constexpr unsigned int VGT_STRMOUT_DELAY__SE3_WD_DELAY_MASK               = 0x000e0000L;
    constexpr unsigned int VGT_STRMOUT_DELAY__SKIP_DELAY_MASK                 = 0x000000ffL;
    constexpr unsigned int VGT_STRMOUT_VTX_STRIDE_0__STRIDE_MASK              = 0x000003ffL;
    constexpr unsigned int VGT_STRMOUT_VTX_STRIDE_1__STRIDE_MASK              = 0x000003ffL;
    constexpr unsigned int VGT_STRMOUT_VTX_STRIDE_2__STRIDE_MASK              = 0x000003ffL;
    constexpr unsigned int VGT_STRMOUT_VTX_STRIDE_3__STRIDE_MASK              = 0x000003ffL;
    constexpr unsigned int VGT_TF_PARAM__DEPRECATED_MASK                      = 0x00000200L;
    constexpr unsigned int VGT_TF_RING_SIZE__SIZE_MASK                        = 0x0000ffffL;
    constexpr unsigned int VGT_VERTEX_REUSE_BLOCK_CNTL__VTX_REUSE_DEPTH_MASK  = 0x000000ffL;
    constexpr unsigned int VGT_VS_MAX_WAVE_ID__MAX_WAVE_ID_MASK               = 0x00000fffL;
    constexpr unsigned int VGT_VTX_CNT_EN__VTX_CNT_EN_MASK                    = 0x00000001L;
    constexpr unsigned int WD_BUF_RESOURCE_1__INDEX_BUF_SIZE_MASK             = 0xffff0000L;
    constexpr unsigned int WD_BUF_RESOURCE_1__POS_BUF_SIZE_MASK               = 0x0000ffffL;
    constexpr unsigned int WD_BUF_RESOURCE_2__ADDR_MODE_MASK                  = 0x00008000L;
    constexpr unsigned int WD_BUF_RESOURCE_2__CNTL_SB_BUF_SIZE_MASK           = 0xffff0000L;
    constexpr unsigned int WD_BUF_RESOURCE_2__PARAM_BUF_SIZE_MASK             = 0x00001fffL;
} // namespace Gfx09_10

namespace Gfx09_1x
{
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_AC01_MASK  = 0x00000100L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK   = 0x00000400L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_SINGLE_MASK = 0x00000200L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_ELIMFC_SKIP_OF_AC01_MASK   = 0x00001000L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_ELIMFC_SKIP_OF_SINGLE_MASK = 0x00002000L;
    constexpr unsigned int CB_DCC_CONTROL__ENABLE_ELIMFC_SKIP_OF_REG_MASK     = 0x00004000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int PA_CL_ENHANCE__NO_SWITCH_TO_LEGACY_AFTER_VMID_RESET_MASK = 0x00080000L;
    constexpr unsigned int PA_CL_ENHANCE__OUTPUT_SWITCH_TO_LEGACY_EVENT_MASK  = 0x00040000L;
    constexpr unsigned int PA_CL_ENHANCE__POLY_INNER_EDGE_FLAG_DISABLE_MASK   = 0x00100000L;
    constexpr unsigned int PA_CL_ENHANCE__TC_REQUEST_PERF_CNTR_ENABLE_MASK    = 0x00200000L;
    constexpr unsigned int PA_SC_ENHANCE_1__RSVD_MASK                         = 0x80000000L;
    constexpr unsigned int RLC_SPM_PERFMON_SAMPLE_DELAY_MAX__PERFMON_MAX_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_PERFMON_SAMPLE_DELAY_MAX__RESERVED_MASK    = 0xffffff00L;
    constexpr unsigned int SPI_WAVE_LIMIT_CNTL__VS_WAVE_GRAN_MASK             = 0x0000000cL;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER2_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER2_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER3_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER3_SELECT__PERF_SEL_MASK              = 0x000003ffL;
} // namespace Gfx09_1x

namespace Gfx09_1xPlus
{
    constexpr unsigned int CB_DCC_CONFIG__DISABLE_CONSTANT_ENCODE_MASK        = 0x00000080L;
    constexpr unsigned int COMPUTE_DISPATCH_END__DATA_MASK                    = 0xffffffffL;
    constexpr unsigned int COMPUTE_SHADER_CHKSUM__CHECKSUM_MASK               = 0xffffffffL;
    constexpr unsigned int PA_CL_CLIP_CNTL__ZCLIP_PROG_NEAR_ENA_MASK          = 0x10000000L;
    constexpr unsigned int PA_CL_ENHANCE__PROG_NEAR_CLIP_PLANE_ENABLE_MASK    = 0x00020000L;
    constexpr unsigned int PA_CL_PROG_NEAR_CLIP_Z__DATA_REGISTER_MASK         = 0xffffffffL;
    constexpr unsigned int PA_SC_BINNER_CNTL_0__FLUSH_ON_BINNING_TRANSITION_MASK = 0x10000000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_INTF_CG_MASK              = 0x00800000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_QUAD_PROC_FDCE_ENHANCE_MASK = 0x08000000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_SC_PS_PA_ARBITER_FIX_1_MASK = 0x20000000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_SC_PS_PA_ARBITER_FIX_MASK = 0x10000000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DISABLE_SHADER_PROFILING_FOR_POWER_MASK = 0x02000000L;
    constexpr unsigned int PA_SC_ENHANCE_1__FLUSH_ON_BINNING_TRANSITION_MASK  = 0x04000000L;
    constexpr unsigned int PA_SC_ENHANCE_1__IOO_DISABLE_EOP_ON_FIRST_LIVE_PRIM_HIT_MASK = 0x01000000L;
    constexpr unsigned int PA_SC_ENHANCE_1__PASS_VPZ_EVENT_TO_SPI_MASK        = 0x40000000L;
    constexpr unsigned int PA_SC_LINE_CNTL__EXTRA_DX_DY_PRECISION_MASK        = 0x00002000L;
    constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_SC_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER1_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_SU_SMALL_PRIM_FILTER_CNTL__SC_1XMSAA_COMPATIBLE_DISABLE_MASK = 0x00000040L;
    constexpr unsigned int SPI_WAVE_LIMIT_CNTL__GS_WAVE_GRAN_MASK             = 0x00000030L;
    constexpr unsigned int SPI_WAVE_LIMIT_CNTL__HS_WAVE_GRAN_MASK             = 0x000000c0L;
    constexpr unsigned int SPI_WAVE_LIMIT_CNTL__PS_WAVE_GRAN_MASK             = 0x00000003L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__GS_FAST_LAUNCH_MASK          = 0x00180000L;
} // namespace Gfx09_1xPlus

namespace Gfx10
{
    constexpr unsigned int CB_CACHE_EVICT_POINTS__CM_CACHE_EVICT_POINT_MASK   = 0x000000ffL;
    constexpr unsigned int CB_CACHE_EVICT_POINTS__FC_CACHE_EVICT_POINT_MASK   = 0x0000ff00L;
    constexpr unsigned int CB_COLOR0_ATTRIB3__CMASK_PIPE_ALIGNED_MASK         = 0x04000000L;
    constexpr unsigned int CB_COLOR0_ATTRIB3__FMASK_SW_MODE_MASK              = 0x00f80000L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__INDEPENDENT_128B_BLOCKS_MASK = 0x00100000L;
    constexpr unsigned int CB_COLOR1_ATTRIB3__CMASK_PIPE_ALIGNED_MASK         = 0x04000000L;
    constexpr unsigned int CB_COLOR1_ATTRIB3__FMASK_SW_MODE_MASK              = 0x00f80000L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__INDEPENDENT_128B_BLOCKS_MASK = 0x00100000L;
    constexpr unsigned int CB_COLOR2_ATTRIB3__CMASK_PIPE_ALIGNED_MASK         = 0x04000000L;
    constexpr unsigned int CB_COLOR2_ATTRIB3__FMASK_SW_MODE_MASK              = 0x00f80000L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__INDEPENDENT_128B_BLOCKS_MASK = 0x00100000L;
    constexpr unsigned int CB_COLOR3_ATTRIB3__CMASK_PIPE_ALIGNED_MASK         = 0x04000000L;
    constexpr unsigned int CB_COLOR3_ATTRIB3__FMASK_SW_MODE_MASK              = 0x00f80000L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__INDEPENDENT_128B_BLOCKS_MASK = 0x00100000L;
    constexpr unsigned int CB_COLOR4_ATTRIB3__CMASK_PIPE_ALIGNED_MASK         = 0x04000000L;
    constexpr unsigned int CB_COLOR4_ATTRIB3__FMASK_SW_MODE_MASK              = 0x00f80000L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__INDEPENDENT_128B_BLOCKS_MASK = 0x00100000L;
    constexpr unsigned int CB_COLOR5_ATTRIB3__CMASK_PIPE_ALIGNED_MASK         = 0x04000000L;
    constexpr unsigned int CB_COLOR5_ATTRIB3__FMASK_SW_MODE_MASK              = 0x00f80000L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__INDEPENDENT_128B_BLOCKS_MASK = 0x00100000L;
    constexpr unsigned int CB_COLOR6_ATTRIB3__CMASK_PIPE_ALIGNED_MASK         = 0x04000000L;
    constexpr unsigned int CB_COLOR6_ATTRIB3__FMASK_SW_MODE_MASK              = 0x00f80000L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__INDEPENDENT_128B_BLOCKS_MASK = 0x00100000L;
    constexpr unsigned int CB_COLOR7_ATTRIB3__CMASK_PIPE_ALIGNED_MASK         = 0x04000000L;
    constexpr unsigned int CB_COLOR7_ATTRIB3__FMASK_SW_MODE_MASK              = 0x00f80000L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK = 0x00040000L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__ENABLE_CONSTANT_ENCODE_REG_WRITE_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__INDEPENDENT_128B_BLOCKS_MASK = 0x00100000L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_AC01_MASK  = 0x00000100L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_REG_MASK   = 0x00000400L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_CONSTANT_ENCODE_SINGLE_MASK = 0x00000200L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_ELIMFC_SKIP_OF_AC01_MASK   = 0x00001000L;
    constexpr unsigned int CB_DCC_CONTROL__DISABLE_ELIMFC_SKIP_OF_SINGLE_MASK = 0x00002000L;
    constexpr unsigned int CB_DCC_CONTROL__ENABLE_ELIMFC_SKIP_OF_REG_MASK     = 0x00004000L;
    constexpr unsigned int CB_HW_CONTROL_2__CHICKEN_BITS_MASK                 = 0xc0000000L;
    constexpr unsigned int CB_HW_CONTROL_2__DRR_ASSUMED_FIFO_DEPTH_DIV8_MASK  = 0x3f000000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_FMASK_NOFETCH_OPT_MASK    = 0x40000000L;
    constexpr unsigned int CB_HW_CONTROL_4__COLOR_CACHE_FETCH_NUM_CLS_LOG2_MASK = 0x00000007L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_KEYXFR_HIT_RETURNS_MASK   = 0x00002000L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_LQUAD_FGCG_MASK           = 0x00800000L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_MA_WAIT_FOR_LAST_MASK     = 0x00008000L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_QSB_AA_MODE_MASK          = 0x00000200L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_QSB_FRAG_GT0_MASK         = 0x00000800L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_QSB_SPECULATIVE_MASK      = 0x00010000L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_QSB_WAIT_FOR_SCORE_MASK   = 0x00000400L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_TILE_FGCG_MASK            = 0x00400000L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_USE_OF_QUAD_SCOREBOARD_MASK = 0x00000020L;
    constexpr unsigned int CB_HW_CONTROL_4__FC_QSB_FIFO_DEPTH_MASK            = 0xff000000L;
    constexpr unsigned int CB_HW_CONTROL_4__FMASK_CACHE_FETCH_NUM_CLS_LOG2_MASK = 0x00000018L;
    constexpr unsigned int CB_HW_CONTROL_4__QSB_WAIT_FOR_SCORE_MASK           = 0x003e0000L;
    constexpr unsigned int CB_HW_CONTROL_4__REVERSE_KEYXFR_RD_PRIORITY_MASK   = 0x00001000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__CMASK_RD_POLICY_MASK     = 0x00030000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__CMASK_WR_POLICY_MASK     = 0x00000003L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__COLOR_WR_POLICY_MASK     = 0x000000c0L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__DCC_WR_POLICY_MASK       = 0x00000030L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__FMASK_BIG_PAGE_MASK      = 0x40000000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__FMASK_RD_POLICY_MASK     = 0x000c0000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__FMASK_WR_POLICY_MASK     = 0x0000000cL;
    constexpr unsigned int DB_FGCG_INTERFACES_CLK_CTRL__DB_CB_LQUAD_OVERRIDE_MASK = 0x00000004L;
    constexpr unsigned int DB_FGCG_INTERFACES_CLK_CTRL__DB_CB_TILE_OVERRIDE_MASK = 0x00000002L;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000001ffL;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x0007fc00L;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x0007fc00L;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int GCR_PERFCOUNTER1_SELECT__CNTL_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GCR_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0x0f000000L;
    constexpr unsigned int GCR_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int GE_CNTL__BREAK_WAVE_AT_EOI_MASK                    = 0x00040000L;
    constexpr unsigned int GE_CNTL__PRIM_GRP_SIZE_MASK                        = 0x000001ffL;
    constexpr unsigned int GE_CNTL__VERT_GRP_SIZE_MASK                        = 0x0003fe00L;
    constexpr unsigned int GE_DMA_FIRST_INDEX__FIRST_INDEX_MASK               = 0xffffffffL;
    constexpr unsigned int GE_PC_CNTL__PC_SIZE_MASK                           = 0x0000ffffL;
    constexpr unsigned int GE_PRIV_CONTROL__DISCARD_LEGACY_MASK               = 0x00000001L;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__EN_INST_OPT_ADV_MASK     = 0x00400000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__EN_INST_OPT_BASIC_MASK   = 0x00200000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__HW_USE_ONLY_MASK         = 0x00800000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__PARTIAL_ES_WAVE_ON_MASK  = 0x00040000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__PARTIAL_VS_WAVE_ON_MASK  = 0x00010000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__PRIMGROUP_SIZE_MASK      = 0x0000ffffL;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__SWITCH_ON_EOI_MASK       = 0x00080000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__SWITCH_ON_EOP_MASK       = 0x00020000L;
    constexpr unsigned int IA_MULTI_VGT_PARAM_PIPED__WD_SWITCH_ON_EOP_MASK    = 0x00100000L;
    constexpr unsigned int PA_CL_ENHANCE__DISABLE_PA_PH_INTF_FINE_CLOCK_GATE_MASK = 0x00400000L;
    constexpr unsigned int PA_CL_ENHANCE__NO_SWITCH_TO_LEGACY_AFTER_VMID_RESET_MASK = 0x00080000L;
    constexpr unsigned int PA_CL_ENHANCE__OUTPUT_SWITCH_TO_LEGACY_EVENT_MASK  = 0x00040000L;
    constexpr unsigned int PA_CL_ENHANCE__POLY_INNER_EDGE_FLAG_DISABLE_MASK   = 0x00100000L;
    constexpr unsigned int PA_CL_ENHANCE__TC_REQUEST_PERF_CNTR_ENABLE_MASK    = 0x00200000L;
    constexpr unsigned int PA_SC_BC_WAVE_BREAK__MAX_DEALLOCS_IN_WAVE_MASK     = 0x000007ffL;
    constexpr unsigned int PA_SC_BC_WAVE_BREAK__MAX_FPOVS_IN_WAVE_MASK        = 0x00ff0000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_DFSM_FLUSH_MASK           = 0x02000000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_PBB_EOP_INSERTION_FOR_MIXED_BINNING_AND_IMMEDIATE_MASK = 0x01000000L;
    constexpr unsigned int RLC_SPM_DESER_START_SKEW__DESER_START_SKEW_MASK    = 0x0000007fL;
    constexpr unsigned int RLC_SPM_DESER_START_SKEW__RESERVED_MASK            = 0xffffff80L;
    constexpr unsigned int RLC_SPM_GLB_SAMPLEDELAY_IND_ADDR__GLB_SAMPLEDELAY_INDEX_MASK = 0xffffffffL;
    constexpr unsigned int RLC_SPM_GLB_SAMPLEDELAY_IND_DATA__data_MASK        = 0x0000007fL;
    constexpr unsigned int RLC_SPM_GLB_SAMPLEDELAY_IND_DATA__RESERVED_MASK    = 0xffffff80L;
    constexpr unsigned int RLC_SPM_GLOBALS_MUXSEL_SKEW__GLOBALS_MUXSEL_SKEW_MASK = 0x0000007fL;
    constexpr unsigned int RLC_SPM_GLOBALS_MUXSEL_SKEW__RESERVED_MASK         = 0xffffff80L;
    constexpr unsigned int RLC_SPM_GLOBALS_SAMPLE_SKEW__GLOBALS_SAMPLE_SKEW_MASK = 0x0000007fL;
    constexpr unsigned int RLC_SPM_GLOBALS_SAMPLE_SKEW__RESERVED_MASK         = 0xffffff80L;
    constexpr unsigned int RLC_SPM_GLOBAL_MUXSEL_ADDR__PERFMON_SEL_ADDR_MASK  = 0x000000ffL;
    constexpr unsigned int RLC_SPM_GLOBAL_MUXSEL_ADDR__RESERVED_MASK          = 0xffffff00L;
    constexpr unsigned int RLC_SPM_PERFMON_GLB_SEGMENT_SIZE__GLOBAL_NUM_LINE_MASK = 0x0000ff00L;
    constexpr unsigned int RLC_SPM_PERFMON_GLB_SEGMENT_SIZE__PERFMON_SEGMENT_SIZE_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_PERFMON_GLB_SEGMENT_SIZE__RESERVED_MASK    = 0xffff0000L;
    constexpr unsigned int RLC_SPM_PERFMON_SE3TO0_SEGMENT_SIZE__SE0_NUM_LINE_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_PERFMON_SE3TO0_SEGMENT_SIZE__SE1_NUM_LINE_MASK = 0x0000ff00L;
    constexpr unsigned int RLC_SPM_PERFMON_SE3TO0_SEGMENT_SIZE__SE2_NUM_LINE_MASK = 0x00ff0000L;
    constexpr unsigned int RLC_SPM_PERFMON_SE3TO0_SEGMENT_SIZE__SE3_NUM_LINE_MASK = 0xff000000L;
    constexpr unsigned int RLC_SPM_SE_MUXSEL_ADDR__PERFMON_SEL_ADDR_MASK      = 0x000001ffL;
    constexpr unsigned int RLC_SPM_SE_MUXSEL_ADDR__RESERVED_MASK              = 0xfffffe00L;
    constexpr unsigned int RLC_SPM_SE_MUXSEL_SKEW__RESERVED_MASK              = 0xffffff80L;
    constexpr unsigned int RLC_SPM_SE_MUXSEL_SKEW__SE_MUXSEL_SKEW_MASK        = 0x0000007fL;
    constexpr unsigned int RLC_SPM_SE_SAMPLEDELAY_IND_ADDR__SE_SAMPLEDELAY_INDEX_MASK = 0xffffffffL;
    constexpr unsigned int RLC_SPM_SE_SAMPLEDELAY_IND_DATA__data_MASK         = 0x0000007fL;
    constexpr unsigned int RLC_SPM_SE_SAMPLEDELAY_IND_DATA__RESERVED_MASK     = 0xffffff80L;
    constexpr unsigned int RLC_SPM_SE_SAMPLE_SKEW__RESERVED_MASK              = 0xffffff80L;
    constexpr unsigned int RLC_SPM_SE_SAMPLE_SKEW__SE_SAMPLE_SKEW_MASK        = 0x0000007fL;
    constexpr unsigned int RLC_SPM_VIRT_CTRL__PauseSpmSamplingRequest_MASK    = 0x00000001L;
    constexpr unsigned int RLC_SPM_VIRT_STATUS__SpmSamplingPaused_MASK        = 0x00000001L;
    constexpr unsigned int SPI_LB_DATA_PERWGP_WAVE_VSPS__WGP_USED_PS_MASK     = 0xffff0000L;
    constexpr unsigned int SPI_LB_DATA_PERWGP_WAVE_VSPS__WGP_USED_VS_MASK     = 0x0000ffffL;
    constexpr unsigned int SPI_SHADER_PGM_CHKSUM_VS__CHECKSUM_MASK            = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__FWD_PROGRESS_MASK         = 0x10000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_VS__MEM_ORDERED_MASK          = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__SHARED_VGPR_CNT_MASK      = 0xf0000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__USER_SGPR_MSB_MASK        = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC4_VS__CU_EN_MASK                = 0x0000ffffL;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_VS__ALLOCATION_RATE_THROTTLING_THRESHOLD_MASK = 0x000e0000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_VS__GLOBAL_SCANNING_EN_MASK    = 0x00010000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_VS__HARD_LOCK_HYSTERESIS_MASK  = 0x00000200L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_VS__HARD_LOCK_LOW_THRESHOLD_MASK = 0x00007c00L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_VS__NUMBER_OF_REQUESTS_PER_CU_MASK = 0x0000001eL;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_VS__PRODUCER_REQUEST_LOCKOUT_MASK = 0x00008000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_VS__SOFT_GROUPING_ALLOCATION_TIMEOUT_MASK = 0x000001e0L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_VS__SOFT_GROUPING_EN_MASK      = 0x00000001L;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_VS_0__CONTRIBUTION_MASK      = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_VS_1__CONTRIBUTION_MASK      = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_VS_2__CONTRIBUTION_MASK      = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_VS_3__CONTRIBUTION_MASK      = 0x0000007fL;
    constexpr unsigned int SPI_START_PHASE__PC_X_PHASE_SE0_MASK               = 0x00000003L;
    constexpr unsigned int SPI_START_PHASE__PC_X_PHASE_SE1_MASK               = 0x0000000cL;
    constexpr unsigned int SPI_START_PHASE__PC_X_PHASE_SE2_MASK               = 0x00000030L;
    constexpr unsigned int SPI_START_PHASE__PC_X_PHASE_SE3_MASK               = 0x000000c0L;
    constexpr unsigned int SPI_WAVE_LIMIT_CNTL__VS_WAVE_GRAN_MASK             = 0x0000000cL;
    constexpr unsigned int SQ_CONFIG__LDS_BUSY_HYSTERESIS_CNT_MASK            = 0x00006000L;
    constexpr unsigned int SQ_CONFIG__SP_BUSY_HYSTERESIS_CNT_MASK             = 0x00018000L;
    constexpr unsigned int SQ_CONFIG__TA_BUSY_HYSTERESIS_CNT_MASK             = 0xc0000000L;
    constexpr unsigned int SQ_CONFIG__VGPR_SWIZZLE_EN_MASK                    = 0x00001000L;
    constexpr unsigned int SQ_FIFO_SIZES__EXPORT_BUF_VS_RESERVED_MASK         = 0x00003000L;
    constexpr unsigned int SQ_LB_CTR_SEL0__DIV0_MASK                          = 0x00008000L;
    constexpr unsigned int SQ_LB_CTR_SEL0__DIV1_MASK                          = 0x80000000L;
    constexpr unsigned int SQ_LB_CTR_SEL0__SEL0_MASK                          = 0x000000ffL;
    constexpr unsigned int SQ_LB_CTR_SEL0__SEL1_MASK                          = 0x00ff0000L;
    constexpr unsigned int SQ_LB_CTR_SEL1__DIV2_MASK                          = 0x00008000L;
    constexpr unsigned int SQ_LB_CTR_SEL1__DIV3_MASK                          = 0x80000000L;
    constexpr unsigned int SQ_LB_CTR_SEL1__SEL2_MASK                          = 0x000000ffL;
    constexpr unsigned int SQ_LB_CTR_SEL1__SEL3_MASK                          = 0x00ff0000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__CNTR_RATE_MASK                = 0x00000300L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__CAPTURE_ALL_MASK             = 0x40000000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__CH_PERF_EN_MASK              = 0x00000008L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__REG_DROP_ON_STALL_MASK       = 0x00001000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__REG_STALL_EN_MASK            = 0x00000200L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__SPI_STALL_EN_MASK            = 0x00000400L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__SQ_STALL_EN_MASK             = 0x00000800L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__UTC_ERR_MASK               = 0x01000000L;
    constexpr unsigned int SQ_WAVE_GPR_ALLOC__VGPR_BASE_MASK                  = 0x000000ffL;
    constexpr unsigned int SQ_WAVE_GPR_ALLOC__VGPR_SIZE_MASK                  = 0x0000ff00L;
    constexpr unsigned int SQ_WAVE_HW_ID1__SE_ID_MASK                         = 0x000c0000L;
    constexpr unsigned int VGT_ESGS_RING_SIZE__MEM_SIZE_MASK                  = 0xffffffffL;
    constexpr unsigned int VGT_FIFO_DEPTHS__HSINPUT_FIFO_DEPTH_MASK           = 0x1f800000L;
    constexpr unsigned int VGT_FIFO_DEPTHS__RESERVED_1_MASK                   = 0x00400000L;
    constexpr unsigned int VGT_GS_MODE__COMPUTE_MODE_MASK                     = 0x00004000L;
    constexpr unsigned int VGT_GS_MODE__ELEMENT_INFO_EN_MASK                  = 0x00010000L;
    constexpr unsigned int VGT_GS_MODE__FAST_COMPUTE_MODE_MASK                = 0x00008000L;
    constexpr unsigned int VGT_VTX_VECT_EJECT_REG__PRIM_COUNT_MASK            = 0x000003ffL;
} // namespace Gfx10

namespace Gfx101
{
    constexpr unsigned int CB_COLOR0_INFO__ALT_TILE_MODE_MASK                 = 0x80000000L;
    constexpr unsigned int CB_COLOR1_INFO__ALT_TILE_MODE_MASK                 = 0x80000000L;
    constexpr unsigned int CB_COLOR2_INFO__ALT_TILE_MODE_MASK                 = 0x80000000L;
    constexpr unsigned int CB_COLOR3_INFO__ALT_TILE_MODE_MASK                 = 0x80000000L;
    constexpr unsigned int CB_COLOR4_INFO__ALT_TILE_MODE_MASK                 = 0x80000000L;
    constexpr unsigned int CB_COLOR5_INFO__ALT_TILE_MODE_MASK                 = 0x80000000L;
    constexpr unsigned int CB_COLOR6_INFO__ALT_TILE_MODE_MASK                 = 0x80000000L;
    constexpr unsigned int CB_COLOR7_INFO__ALT_TILE_MODE_MASK                 = 0x80000000L;
    constexpr unsigned int CB_DCC_CONFIG__DCC_CACHE_NUM_TAGS_MASK             = 0xfc000000L;
    constexpr unsigned int CB_HW_CONTROL_1__CC_CACHE_NUM_TAGS_MASK            = 0x0001f800L;
    constexpr unsigned int CB_HW_CONTROL_1__CM_TILE_FIFO_DEPTH_MASK           = 0x03fe0000L;
    constexpr unsigned int CB_HW_CONTROL_1__FC_CACHE_NUM_TAGS_MASK            = 0x000007e0L;
    constexpr unsigned int CB_HW_CONTROL_1__RMI_CREDITS_MASK                  = 0xfc000000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_OVERWRITE_COMBINER_TARGET_MASK_VALIDATION_MASK = 0x00000100L;
    constexpr unsigned int CHCG_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_0__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_0__COEFFICIENT_MASK         = 0x007f8000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_0__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_0__CONTRIBUTION_MASK        = 0x0000007fL;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_0__GROUP_UPDATE_EN_MASK     = 0x00002000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_0__RESERVED_MASK            = 0x00004000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_1__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_1__COEFFICIENT_MASK         = 0x007f8000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_1__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_1__CONTRIBUTION_MASK        = 0x0000007fL;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_1__GROUP_UPDATE_EN_MASK     = 0x00002000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_1__RESERVED_MASK            = 0x00004000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_2__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_2__COEFFICIENT_MASK         = 0x007f8000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_2__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_2__CONTRIBUTION_MASK        = 0x0000007fL;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_2__GROUP_UPDATE_EN_MASK     = 0x00002000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_2__RESERVED_MASK            = 0x00004000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_3__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_3__COEFFICIENT_MASK         = 0x007f8000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_3__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_3__CONTRIBUTION_MASK        = 0x0000007fL;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_3__GROUP_UPDATE_EN_MASK     = 0x00002000L;
    constexpr unsigned int COMPUTE_PREF_PRI_ACCUM_3__RESERVED_MASK            = 0x00004000L;
    constexpr unsigned int DB_DFSM_CONFIG__CAM_WATERMARK_MASK                 = 0x00ff0000L;
    constexpr unsigned int DB_EXCEPTION_CONTROL__EXTRA_BITS_GROUP_A_MASK      = 0x000000e0L;
    constexpr unsigned int DB_EXCEPTION_CONTROL__EXTRA_BITS_GROUP_B_MASK      = 0x00fff000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__BYPASS_SORT_RD_BA_MASK    = 0x20000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DBCB_LOB_SWITCH_TIMEOUT_MASK = 0x0003f800L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_FLQ_LOB_EVERY_256B_MASK = 0x00100000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_MCC_BURST_COUNT_RESET_ON_LOB_MASK = 0x00080000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_MCC_BURST_FORCE_FLUSH_BEFORE_FIFO_MASK = 0x00400000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_ZCACHE_FL_OP_EVEN_ARB_MASK = 0x00200000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_FG_DEFAULT_TIMEOUT_MASK = 0x00040000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_CB_LOB_GEN_MASK = 0x02000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_DKG_LOB_GEN_MASK = 0x00800000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_FG_LOB_FWDR_MASK = 0x08000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_FL_BURST_MASK = 0x04000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_LPF_LOB_GEN_MASK = 0x01000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_RD_BA_ACCUM_MASK = 0x10000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi0__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi1__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi2__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi3__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi4__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi5__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi6__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi7__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo0__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo1__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo2__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo3__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo4__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo5__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo6__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo7__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER0_CFG__CLEAR_MASK             = 0x20000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER0_CFG__ENABLE_MASK            = 0x10000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER0_CFG__PERF_MODE_MASK         = 0x0f000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER0_CFG__PERF_SEL_END_MASK      = 0x0000ff00L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER0_CFG__PERF_SEL_MASK          = 0x000000ffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER1_CFG__CLEAR_MASK             = 0x20000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER1_CFG__ENABLE_MASK            = 0x10000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER1_CFG__PERF_MODE_MASK         = 0x0f000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER1_CFG__PERF_SEL_END_MASK      = 0x0000ff00L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER1_CFG__PERF_SEL_MASK          = 0x000000ffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK     = 0xffffffffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK     = 0xffffffffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_MODE__COMPARE_MODE0_MASK    = 0x00000003L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_MODE__COMPARE_MODE1_MASK    = 0x0000000cL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_MODE__COMPARE_MODE2_MASK    = 0x00000030L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_MODE__COMPARE_MODE3_MASK    = 0x000000c0L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_MODE__COMPARE_VALUE0_MASK   = 0x00000f00L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_MODE__COMPARE_VALUE1_MASK   = 0x0000f000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_MODE__COMPARE_VALUE2_MASK   = 0x000f0000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_MODE__COMPARE_VALUE3_MASK   = 0x00f00000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK    = 0xf0000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK    = 0x0f000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK     = 0x000003ffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK     = 0x000ffc00L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT__CNTR_MODE_MASK      = 0x00f00000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT__PERF_MODE1_MASK     = 0x0f000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT__PERF_MODE_MASK      = 0xf0000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT__PERF_SEL1_MASK      = 0x000ffc00L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER2_SELECT__PERF_SEL_MASK       = 0x000003ffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_HI__COMPARE_VALUE_MASK       = 0xffff0000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_HI__COUNTER_HI_MASK          = 0x0000ffffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_LO__COUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK    = 0x02000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK   = 0x01000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK = 0x0000ff00L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int GC_ATC_L2_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK = 0x00ff0000L;
    constexpr unsigned int GE_FAST_CLKS__FORCE_FAST_CLK_MASK                  = 0x80000000L;
    constexpr unsigned int GE_FAST_CLKS__HYSTERESIS_MASK                      = 0x3fffffffL;
    constexpr unsigned int GE_FAST_CLKS__LOCK_MASK                            = 0x40000000L;
    constexpr unsigned int GE_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK           = 0x0f000000L;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK           = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT__PERF_MODE0_MASK            = 0x0f000000L;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT__PERF_MODE1_MASK            = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int GE_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK           = 0x0f000000L;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK           = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT__PERF_MODE0_MASK            = 0x0f000000L;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT__PERF_MODE1_MASK            = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER1_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int GE_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK           = 0x0f000000L;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK           = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT__PERF_MODE0_MASK            = 0x0f000000L;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT__PERF_MODE1_MASK            = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER2_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int GE_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT1__PERF_MODE2_MASK           = 0x0f000000L;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT1__PERF_MODE3_MASK           = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT__CNTR_MODE_MASK             = 0x00f00000L;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT__PERF_MODE0_MASK            = 0x0f000000L;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT__PERF_MODE1_MASK            = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER3_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int GE_PERFCOUNTER4_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER4_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER4_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER4_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER5_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER5_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER5_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER5_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER6_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER6_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER6_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER6_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER7_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER7_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER7_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER7_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER8_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER8_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER8_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER8_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER9_HI__PERFCOUNTER_HI_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER9_LO__PERFCOUNTER_LO_MASK            = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER9_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER9_SELECT__PERF_SEL0_MASK             = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER10_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER10_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER10_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER10_SELECT__PERF_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int GE_PERFCOUNTER11_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER11_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GE_PERFCOUNTER11_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GE_PERFCOUNTER11_SELECT__PERF_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int GUS_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE0_MASK          = 0x00000003L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE1_MASK          = 0x0000000cL;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE2_MASK          = 0x00000030L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE3_MASK          = 0x000000c0L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE0_MASK         = 0x00000f00L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE1_MASK         = 0x0000f000L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE2_MASK         = 0x000f0000L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE3_MASK         = 0x00f00000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GUS_PERFCOUNTER_HI__COMPARE_VALUE_MASK             = 0xffff0000L;
    constexpr unsigned int GUS_PERFCOUNTER_HI__COUNTER_HI_MASK                = 0x0000ffffL;
    constexpr unsigned int GUS_PERFCOUNTER_LO__COUNTER_LO_MASK                = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK          = 0x02000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK         = 0x01000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK      = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK       = 0x00ff0000L;
    constexpr unsigned int MP1_SMN_FPS_CNT__COUNT_MASK                        = 0xffffffffL;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_FAULT_DETECTED_MASK         = 0x00000001L;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_PRT_DETECTED_MASK           = 0x00000004L;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_RETRY_DETECTED_MASK         = 0x00000002L;
    constexpr unsigned int PA_SC_ENHANCE_1__ALLOW_SCALE_LINE_WIDTH_PAD_WITH_BINNING_MASK = 0x00020000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DEBUG_PIXEL_PICKER_XY_UNPACK_MASK = 0x00001000L;
    constexpr unsigned int PA_SC_ENHANCE_2__ECO_SPARE0_MASK                   = 0x00000001L;
    constexpr unsigned int PA_SC_ENHANCE_2__ECO_SPARE1_MASK                   = 0x00000002L;
    constexpr unsigned int PA_SC_ENHANCE_2__ECO_SPARE2_MASK                   = 0x00000004L;
    constexpr unsigned int PA_SC_ENHANCE_2__ECO_SPARE3_MASK                   = 0x00000008L;
    constexpr unsigned int PA_SC_ENHANCE_2__RSVD_MASK                         = 0xc0000000L;
    constexpr unsigned int PA_SC_MODE_CNTL_0__SCALE_LINE_WIDTH_PAD_MASK       = 0x00000010L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_PACKER_PER_SC_MASK = 0x00100000L;
    constexpr unsigned int PA_SU_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int PerfMonCtl1__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl1__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl1__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl1__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl1__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl1__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl1__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl1__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl1__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl2__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl2__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl2__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl2__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl2__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl2__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl2__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl2__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl2__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl3__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl3__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl3__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl3__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl3__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl3__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl3__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl3__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl3__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl4__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl4__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl4__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl4__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl4__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl4__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl4__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl4__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl4__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl5__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl5__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl5__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl5__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl5__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl5__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl5__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl5__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl5__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtlClk__CtrClkEn_MASK                       = 0x80000000L;
    constexpr unsigned int PerfMonCtlClk__GlblMonEn_MASK                      = 0x02000000L;
    constexpr unsigned int PerfMonCtlClk__GlblResetMsk_MASK                   = 0x0000003fL;
    constexpr unsigned int PerfMonCtlClk__GlblReset_MASK                      = 0x01000000L;
    constexpr unsigned int PerfMonCtr1_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr1_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr1_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr2_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr2_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr2_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr3_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr3_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr3_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr4_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr4_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr4_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr5_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr5_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr5_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtrClk_Hi__Data_MASK                        = 0x0000ffffL;
    constexpr unsigned int PerfMonCtrClk_Hi__Overflow_MASK                    = 0x00010000L;
    constexpr unsigned int PerfMonCtrClk_Lo__Data_MASK                        = 0xffffffffL;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR__addr_MASK              = 0x000001ffL;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR__RESERVED_MASK          = 0xfffffe00L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__RESERVED_MASK                  = 0xfffffc00L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeAccumDoneInt_MASK        = 0x00000010L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeResetAccum_MASK          = 0x00000020L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeSpmDoneInt_MASK          = 0x00000008L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeStartSpm_MASK            = 0x000003c0L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoAccumEn_MASK               = 0x00000002L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoResetPerfmonDisable_MASK   = 0x00000040L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoSpmEn_MASK                 = 0x00000004L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__Globals_LoadOverride_MASK      = 0x00000008L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__RESERVED_MASK                  = 0xffffff80L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE0_LoadOverride_MASK          = 0x00000010L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE1_LoadOverride_MASK          = 0x00000020L;
    constexpr unsigned int RLC_SPM_ACCUM_SAMPLES_REQUESTED__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__RESERVED_MASK                = 0xffff0000L;
    constexpr unsigned int RLC_SPM_ACCUM_THRESHOLD__RESERVED_MASK             = 0xffff0000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RESERVED_2_MASK                   = 0x00002000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RESERVED_MASK                     = 0xffff0000L;
    constexpr unsigned int SPI_CONFIG_CNTL_1_REMAP__RESERVED_MASK             = 0xffffffffL;
    constexpr unsigned int SPI_CONFIG_CNTL_1__RESERVED_MASK                   = 0xffc00000L;
    constexpr unsigned int SPI_CONFIG_CNTL_2_REMAP__RESERVED_MASK             = 0xffffffffL;
    constexpr unsigned int SPI_CONFIG_CNTL_REMAP__RESERVED_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_CONFIG_CNTL__RSRC_MGMT_RESET_MASK              = 0x04000000L;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_4__COUNT_MASK              = 0x000007ffL;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_4__EVENTS_MASK             = 0x07ff0000L;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_5__COUNT_MASK              = 0x000007ffL;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_5__EVENTS_MASK             = 0x07ff0000L;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_6__COUNT_MASK              = 0x000007ffL;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_6__EVENTS_MASK             = 0x07ff0000L;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_7__COUNT_MASK              = 0x000007ffL;
    constexpr unsigned int SPI_CSQ_WF_ACTIVE_COUNT_7__EVENTS_MASK             = 0x07ff0000L;
    constexpr unsigned int SPI_FEATURE_CTRL__ACTIVE_HARD_LOCK_LIMIT_MASK      = 0x00000f80L;
    constexpr unsigned int SPI_FEATURE_CTRL__ALLOCATION_RATE_THROTTLE_THRESHOLD_MASK = 0x0000007cL;
    constexpr unsigned int SPI_FEATURE_CTRL__BUS_ACTIVITY_THRESHOLD_ALLOC_STALL_EN_MASK = 0x00080000L;
    constexpr unsigned int SPI_FEATURE_CTRL__BUS_ACTIVITY_THRESHOLD_MASK      = 0x0ff00000L;
    constexpr unsigned int SPI_FEATURE_CTRL__CU_LOCKING_FAIRNESS_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int SPI_FEATURE_CTRL__LR_IMBALANCE_THRESHOLD_MASK      = 0x0003f000L;
    constexpr unsigned int SPI_FEATURE_CTRL__RA_PIPE_DEPTH_THRESHOLD_ALLOC_STALL_EN_MASK = 0x00040000L;
    constexpr unsigned int SPI_FEATURE_CTRL__TUNNELING_WAVE_LIMIT_MASK        = 0xf0000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_0__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_1__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_2__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_3__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_4__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_5__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_10__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_10__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_10__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_10__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_11__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_11__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_11__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_11__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_12__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_12__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_12__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_12__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_13__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_13__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_13__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_13__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_14__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_14__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_14__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_14__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_15__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_15__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_15__RESERVE_SPACE_ONLY_MASK = 0x01000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_15__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__CDBG_USER_MASK            = 0x40000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__CU_GROUP_ENABLE_MASK      = 0x04000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__DEBUG_MODE_MASK           = 0x00400000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__DX10_CLAMP_MASK           = 0x00200000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__FLOAT_MODE_MASK           = 0x000ff000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__FP16_OVFL_MASK            = 0x80000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__IEEE_MODE_MASK            = 0x00800000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__PRIORITY_MASK             = 0x00000c00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__PRIV_MASK                 = 0x00100000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__SGPRS_MASK                = 0x000003c0L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__VGPRS_MASK                = 0x0000003fL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_ES__VGPR_COMP_CNT_MASK        = 0x03000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__CDBG_USER_MASK            = 0x20000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__DEBUG_MODE_MASK           = 0x00400000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__DX10_CLAMP_MASK           = 0x00200000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__FLOAT_MODE_MASK           = 0x000ff000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__FP16_OVFL_MASK            = 0x40000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__IEEE_MODE_MASK            = 0x00800000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__PRIORITY_MASK             = 0x00000c00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__PRIV_MASK                 = 0x00100000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__SGPRS_MASK                = 0x000003c0L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__VGPRS_MASK                = 0x0000003fL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_LS__VGPR_COMP_CNT_MASK        = 0x03000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_GS__EXCP_EN_MASK           = 0x0001ff00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_GS__LDS_SIZE_MASK          = 0x1ff00000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_GS__OC_LDS_EN_MASK         = 0x00000080L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_GS__SCRATCH_EN_MASK        = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_GS__TRAP_PRESENT_MASK      = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_GS__USER_SGPR_MASK         = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_VS__EXCP_EN_MASK           = 0x0001ff00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_VS__LDS_SIZE_MASK          = 0x1ff00000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_VS__OC_LDS_EN_MASK         = 0x00000080L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_VS__SCRATCH_EN_MASK        = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_VS__TRAP_PRESENT_MASK      = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES_VS__USER_SGPR_MASK         = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES__EXCP_EN_MASK              = 0x0001ff00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES__LDS_SIZE_MASK             = 0x1ff00000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES__OC_LDS_EN_MASK            = 0x00000080L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES__SCRATCH_EN_MASK           = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES__TRAP_PRESENT_MASK         = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_ES__USER_SGPR_MASK            = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_ES__EXCP_EN_MASK           = 0x01ff0000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_ES__LDS_SIZE_MASK          = 0x0000ff80L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_ES__SCRATCH_EN_MASK        = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_ES__TRAP_PRESENT_MASK      = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_ES__USER_SGPR_MASK         = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_HS__EXCP_EN_MASK           = 0x01ff0000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_HS__LDS_SIZE_MASK          = 0x0000ff80L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_HS__SCRATCH_EN_MASK        = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_HS__TRAP_PRESENT_MASK      = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_HS__USER_SGPR_MASK         = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_VS__EXCP_EN_MASK           = 0x01ff0000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_VS__LDS_SIZE_MASK          = 0x0000ff80L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_VS__SCRATCH_EN_MASK        = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_VS__TRAP_PRESENT_MASK      = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS_VS__USER_SGPR_MASK         = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS__EXCP_EN_MASK              = 0x01ff0000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS__LDS_SIZE_MASK             = 0x0000ff80L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS__SCRATCH_EN_MASK           = 0x00000001L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS__TRAP_PRESENT_MASK         = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_LS__USER_SGPR_MASK            = 0x0000003eL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_ES__CU_EN_MASK                = 0x0000ffffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_ES__GROUP_FIFO_DEPTH_MASK     = 0xfc000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_ES__LOCK_LOW_THRESHOLD_MASK   = 0x03c00000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_ES__WAVE_LIMIT_MASK           = 0x003f0000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_LS__CU_EN_MASK                = 0x0000ffffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_LS__GROUP_FIFO_DEPTH_MASK     = 0xfc000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_LS__LOCK_LOW_THRESHOLD_MASK   = 0x03c00000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_LS__WAVE_LIMIT_MASK           = 0x003f0000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_0__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_0__COEFFICIENT_MASK = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_0__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_0__CONTRIBUTION_MASK = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_0__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_0__RESERVED_MASK    = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_1__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_1__COEFFICIENT_MASK = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_1__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_1__CONTRIBUTION_MASK = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_1__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_1__RESERVED_MASK    = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_2__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_2__COEFFICIENT_MASK = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_2__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_2__CONTRIBUTION_MASK = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_2__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_2__RESERVED_MASK    = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_3__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_3__COEFFICIENT_MASK = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_3__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_3__CONTRIBUTION_MASK = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_3__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_ESGS_3__RESERVED_MASK    = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_0__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_0__COEFFICIENT_MASK = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_0__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_0__CONTRIBUTION_MASK = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_0__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_0__RESERVED_MASK    = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_1__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_1__COEFFICIENT_MASK = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_1__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_1__CONTRIBUTION_MASK = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_1__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_1__RESERVED_MASK    = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_2__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_2__COEFFICIENT_MASK = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_2__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_2__CONTRIBUTION_MASK = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_2__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_2__RESERVED_MASK    = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_3__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_3__COEFFICIENT_MASK = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_3__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_3__CONTRIBUTION_MASK = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_3__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_LSHS_3__RESERVED_MASK    = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_0__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_0__COEFFICIENT_MASK   = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_0__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_0__CONTRIBUTION_MASK  = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_0__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_0__RESERVED_MASK      = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_1__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_1__COEFFICIENT_MASK   = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_1__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_1__CONTRIBUTION_MASK  = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_1__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_1__RESERVED_MASK      = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_2__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_2__COEFFICIENT_MASK   = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_2__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_2__CONTRIBUTION_MASK  = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_2__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_2__RESERVED_MASK      = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_3__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_3__COEFFICIENT_MASK   = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_3__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_3__CONTRIBUTION_MASK  = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_3__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_PS_3__RESERVED_MASK      = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_0__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_0__COEFFICIENT_MASK   = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_0__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_0__CONTRIBUTION_MASK  = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_0__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_0__RESERVED_MASK      = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_1__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_1__COEFFICIENT_MASK   = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_1__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_1__CONTRIBUTION_MASK  = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_1__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_1__RESERVED_MASK      = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_2__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_2__COEFFICIENT_MASK   = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_2__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_2__CONTRIBUTION_MASK  = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_2__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_2__RESERVED_MASK      = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_3__COEFFICIENT_HIER_SELECT_MASK = 0x00000380L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_3__COEFFICIENT_MASK   = 0x007f8000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_3__CONTRIBUTION_HIER_SELECT_MASK = 0x00001c00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_3__CONTRIBUTION_MASK  = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_3__GROUP_UPDATE_EN_MASK = 0x00002000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_ACCUM_VS_3__RESERVED_MASK      = 0x00004000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_ESGS__GROUP_UPDATE_EN_MASK = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_ESGS__PER_TYPE_WAVE_COUNT_COEFFICIENT_MASK = 0x00ff0000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_ESGS__PER_TYPE_WAVE_COUNT_HIER_SELECT_MASK = 0x00000038L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_ESGS__TOTAL_WAVE_COUNT_COEFFICIENT_MASK = 0x0000ff00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_ESGS__TOTAL_WAVE_COUNT_HIER_SELECT_MASK = 0x00000007L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_LSHS__GROUP_UPDATE_EN_MASK = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_LSHS__PER_TYPE_WAVE_COUNT_COEFFICIENT_MASK = 0x00ff0000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_LSHS__PER_TYPE_WAVE_COUNT_HIER_SELECT_MASK = 0x00000038L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_LSHS__TOTAL_WAVE_COUNT_COEFFICIENT_MASK = 0x0000ff00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_LSHS__TOTAL_WAVE_COUNT_HIER_SELECT_MASK = 0x00000007L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_PS__GROUP_UPDATE_EN_MASK = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_PS__PER_TYPE_WAVE_COUNT_COEFFICIENT_MASK = 0x00ff0000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_PS__PER_TYPE_WAVE_COUNT_HIER_SELECT_MASK = 0x00000038L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_PS__TOTAL_WAVE_COUNT_COEFFICIENT_MASK = 0x0000ff00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_PS__TOTAL_WAVE_COUNT_HIER_SELECT_MASK = 0x00000007L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_VS__GROUP_UPDATE_EN_MASK = 0x00000040L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_VS__PER_TYPE_WAVE_COUNT_COEFFICIENT_MASK = 0x00ff0000L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_VS__PER_TYPE_WAVE_COUNT_HIER_SELECT_MASK = 0x00000038L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_VS__TOTAL_WAVE_COUNT_COEFFICIENT_MASK = 0x0000ff00L;
    constexpr unsigned int SPI_SHADER_PREF_PRI_CNTR_CTRL_VS__TOTAL_WAVE_COUNT_HIER_SELECT_MASK = 0x00000007L;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_0__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_1__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_2__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_3__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_4__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_5__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_6__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_7__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_8__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_9__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_10__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_11__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_12__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_13__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_14__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_ES_15__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_0__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_1__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_2__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_3__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_4__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_5__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_6__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_7__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_8__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_9__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_10__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_11__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_12__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_13__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_14__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_LS_15__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SYS_COMPUTE__PIPE_MASK                         = 0x000000ffL;
    constexpr unsigned int SPI_SYS_WIF_CNTL__THRESHOLD_MASK                   = 0x000000ffL;
    constexpr unsigned int SPI_WAVE_LIMIT_CNTL_REMAP__RESERVED_MASK           = 0xffffffffL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS4__VALUE_MASK               = 0x0000007fL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS5__VALUE_MASK               = 0x0000007fL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS6__VALUE_MASK               = 0x0000007fL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS7__VALUE_MASK               = 0x0000007fL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_GFX__ES_GRP_VALUE_MASK        = 0x003e0000L;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_GFX__LS_GRP_VALUE_MASK        = 0x00000f80L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_6__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_6__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_7__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_7__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_8__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_8__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_9__EN_WARN_MASK              = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_LIMIT_9__MAX_CNT_MASK              = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_3__INT_SENT_MASK            = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_3__MAX_CNT_MASK             = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_5__INT_SENT_MASK            = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_5__MAX_CNT_MASK             = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_10__INT_SENT_MASK           = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_10__MAX_CNT_MASK            = 0x7fffffffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_12__INT_SENT_MASK           = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_12__MAX_CNT_MASK            = 0x7fffffffL;
    constexpr unsigned int SQ_ARB_CONFIG__DISABLE_SECOND_TRY_MASK             = 0x00000100L;
    constexpr unsigned int SQ_CONFIG__DEBUG_ONE_INST_CLAUSE_MASK              = 0x00000400L;
    constexpr unsigned int SQ_CONFIG__DEBUG_SINGLE_MEMOP_MASK                 = 0x00000200L;
    constexpr unsigned int SQ_CONFIG__OVERRIDE_LDS_IDX_BUSY_MASK              = 0x00000800L;
    constexpr unsigned int SQ_CONFIG__REPLAY_SLEEP_CNT_MASK                   = 0x0fe00000L;
    constexpr unsigned int SQ_CONFIG__UNUSED_MASK                             = 0x0000007fL;
    constexpr unsigned int SQ_PERFCOUNTER0_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER1_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER2_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER3_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER4_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER5_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER6_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER7_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER8_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER9_SELECT__SQC_BANK_MASK_MASK         = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER10_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER11_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER12_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER13_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER14_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_PERFCOUNTER15_SELECT__SQC_BANK_MASK_MASK        = 0x0000f000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__TOKEN_EXCLUDE_MASK     = 0x00000fffL;
    constexpr unsigned int SQ_WATCH0_CNTL__MODE_MASK                          = 0x60000000L;
    constexpr unsigned int SQ_WATCH1_CNTL__MODE_MASK                          = 0x60000000L;
    constexpr unsigned int SQ_WATCH2_CNTL__MODE_MASK                          = 0x60000000L;
    constexpr unsigned int SQ_WATCH3_CNTL__MODE_MASK                          = 0x60000000L;
    constexpr unsigned int SQ_WAVE_FLAT_XNACK_MASK__MASK_MASK                 = 0xffffffffL;
    constexpr unsigned int SQ_WAVE_IB_STS2__SUBV_LOOP_MASK                    = 0x00002000L;
    constexpr unsigned int SQ_WAVE_IB_STS2__WAVE64HI_MASK                     = 0x00001000L;
    constexpr unsigned int SQ_WAVE_IB_STS__FIRST_REPLAY_MASK                  = 0x00008000L;
    constexpr unsigned int SQ_WAVE_IB_STS__RCNT_MASK                          = 0x003f0000L;
    constexpr unsigned int SQ_WAVE_IB_STS__REPLAY_W64H_MASK                   = 0x02000000L;
    constexpr unsigned int SQ_WAVE_MODE__CSP_MASK                             = 0xe0000000L;
    constexpr unsigned int SQ_WAVE_MODE__VSKIP_MASK                           = 0x10000000L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__XNACK_ERROR_MASK                  = 0x10000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERFCOUNTER_SELECT2_MASK  = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERFCOUNTER_SELECT3_MASK  = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERFCOUNTER_SELECT1_MASK   = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERFCOUNTER_SELECT_MASK    = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERFCOUNTER_SELECT2_MASK  = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERFCOUNTER_SELECT3_MASK  = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERFCOUNTER_SELECT1_MASK   = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERFCOUNTER_SELECT_MASK    = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER2_SELECT__PERFCOUNTER_SELECT1_MASK   = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER2_SELECT__PERFCOUNTER_SELECT_MASK    = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER3_SELECT__PERFCOUNTER_SELECT1_MASK   = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER3_SELECT__PERFCOUNTER_SELECT_MASK    = 0x000003ffL;
    constexpr unsigned int TA_CNTL_AUX__RESERVED_MASK                         = 0x0000000eL;
    constexpr unsigned int TA_CNTL__FX_XNACK_CREDIT_MASK                      = 0x0000007fL;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000000ffL;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x0003fc00L;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x0003fc00L;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int TA_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000000ffL;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x0003fc00L;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x0003fc00L;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int TD_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000000ffL;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_BUSY_MASK                     = 0x00000001L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_GS_BUSY_MASK                  = 0x00000080L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_HS_BUSY_MASK                  = 0x00000100L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_OUT_BUSY_MASK                 = 0x00000004L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_OUT_INDX_BUSY_MASK            = 0x00000002L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_PI_BUSY_MASK                  = 0x00000040L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_PRIMGEN_BUSY_MASK             = 0x00000400L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_PT_BUSY_MASK                  = 0x00000008L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_TE11_BUSY_MASK                = 0x00000200L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_TE_BUSY_MASK                  = 0x00000010L;
    constexpr unsigned int VGT_CNTL_STATUS__VGT_VR_BUSY_MASK                  = 0x00000020L;
    constexpr unsigned int VGT_DRAW_INITIATOR__GRBM_SKEW_NO_DEC_MASK          = 0x00000100L;
    constexpr unsigned int VGT_DRAW_INITIATOR__UNROLLED_INST_MASK             = 0x00000080L;
    constexpr unsigned int VGT_ESGS_RING_SIZE_UMD__MEM_SIZE_MASK              = 0xffffffffL;
    constexpr unsigned int VGT_GSVS_RING_SIZE_UMD__MEM_SIZE_MASK              = 0xffffffffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM_UMD__OFFCHIP_BUFFERING_MASK   = 0x000001ffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM_UMD__OFFCHIP_GRANULARITY_MASK = 0x00000600L;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM__OFFCHIP_BUFFERING_MASK       = 0x000001ffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM__OFFCHIP_GRANULARITY_MASK     = 0x00000600L;
    constexpr unsigned int VGT_TF_MEMORY_BASE_HI_UMD__BASE_HI_MASK            = 0x000000ffL;
    constexpr unsigned int VGT_TF_MEMORY_BASE_UMD__BASE_MASK                  = 0xffffffffL;
    constexpr unsigned int VGT_TF_RING_SIZE_UMD__SIZE_MASK                    = 0x0000ffffL;
    constexpr unsigned int WD_CNTL_STATUS__WD_ADC_BUSY_MASK                   = 0x00000008L;
    constexpr unsigned int WD_CNTL_STATUS__WD_BUSY_MASK                       = 0x00000001L;
    constexpr unsigned int WD_CNTL_STATUS__WD_SPL_DI_BUSY_MASK                = 0x00000004L;
    constexpr unsigned int WD_CNTL_STATUS__WD_SPL_DMA_BUSY_MASK               = 0x00000002L;
} // namespace Gfx101

namespace Gfx103
{
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__OFF_HYSTERESIS_MASK            = 0x00000ff0L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__ON_DELAY_MASK                  = 0x0000000fL;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_OVERRIDE0_MASK            = 0x80000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_OVERRIDE1_MASK            = 0x40000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_OVERRIDE2_MASK            = 0x20000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_OVERRIDE3_MASK            = 0x10000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_OVERRIDE4_MASK            = 0x08000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_OVERRIDE5_MASK            = 0x04000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_OVERRIDE6_MASK            = 0x02000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_OVERRIDE7_MASK            = 0x01000000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_STALL_OVERRIDE0_MASK      = 0x00800000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_STALL_OVERRIDE1_MASK      = 0x00400000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_STALL_OVERRIDE2_MASK      = 0x00200000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_STALL_OVERRIDE3_MASK      = 0x00100000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_STALL_OVERRIDE4_MASK      = 0x00080000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_STALL_OVERRIDE5_MASK      = 0x00040000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_STALL_OVERRIDE6_MASK      = 0x00020000L;
    constexpr unsigned int CB_CGTT_SCLK_CTRL1__SOFT_STALL_OVERRIDE7_MASK      = 0x00010000L;
    constexpr unsigned int CB_COLOR0_INFO__NBC_TILING_MASK                    = 0x80000000L;
    constexpr unsigned int CB_COLOR1_INFO__NBC_TILING_MASK                    = 0x80000000L;
    constexpr unsigned int CB_COLOR2_INFO__NBC_TILING_MASK                    = 0x80000000L;
    constexpr unsigned int CB_COLOR3_INFO__NBC_TILING_MASK                    = 0x80000000L;
    constexpr unsigned int CB_COLOR4_INFO__NBC_TILING_MASK                    = 0x80000000L;
    constexpr unsigned int CB_COLOR5_INFO__NBC_TILING_MASK                    = 0x80000000L;
    constexpr unsigned int CB_COLOR6_INFO__NBC_TILING_MASK                    = 0x80000000L;
    constexpr unsigned int CB_COLOR7_INFO__NBC_TILING_MASK                    = 0x80000000L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_FMASK_MULTI_MGCG_DOMAINS_MASK = 0x00008000L;
    constexpr unsigned int DB_DFSM_CONFIG__CAM_WATERMARK_MASK                 = 0x007f0000L;
    constexpr unsigned int DB_DFSM_CONFIG__FORCE_PUNCHOUT_5BIT_MODE_MASK      = 0x00800000L;
    constexpr unsigned int DB_DFSM_CONFIG__POPS_INCREMENT_CONTROL_MASK        = 0x0000c000L;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT__PERF_MODE0_MASK           = 0x0f000000L;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0xf0000000L;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT__PERF_MODE0_MASK           = 0x0f000000L;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT__PERF_MODE1_MASK           = 0xf0000000L;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT__PERF_MODE0_MASK           = 0x0f000000L;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT__PERF_MODE1_MASK           = 0xf0000000L;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT__PERF_MODE0_MASK           = 0x0f000000L;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT__PERF_MODE1_MASK           = 0xf0000000L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__RESERVED_MASK                   = 0xff800000L;
    constexpr unsigned int SQ_CLK_CTRL__PIPE2DCLK_OVERRIDE_MASK               = 0x00000002L;
    constexpr unsigned int TA_POWER_CNTL__ADDR_CLK_EN_MODE_MASK               = 0x00000800L;
    constexpr unsigned int TA_POWER_CNTL__ADDR_CLK_VALID_DELAY_MASK           = 0x00000700L;
    constexpr unsigned int TA_POWER_CNTL__BUFFERFLAT_CLK_EN_MODE_MASK         = 0x00800000L;
    constexpr unsigned int TA_POWER_CNTL__BUFFERFLAT_CLK_VALID_DELAY_MASK     = 0x00700000L;
    constexpr unsigned int TA_POWER_CNTL__GRAD_CLK_EN_MODE_MASK               = 0x00008000L;
    constexpr unsigned int TA_POWER_CNTL__GRAD_CLK_VALID_DELAY_MASK           = 0x00007000L;
    constexpr unsigned int TA_POWER_CNTL__LOD_CLK_EN_MODE_MASK                = 0x00000080L;
    constexpr unsigned int TA_POWER_CNTL__LOD_CLK_VALID_DELAY_MASK            = 0x00000070L;
    constexpr unsigned int TA_POWER_CNTL__LOWER_CLK_EN_MODE_MASK              = 0x80000000L;
    constexpr unsigned int TA_POWER_CNTL__LOWER_CLK_VALID_DELAY_MASK          = 0x70000000L;
    constexpr unsigned int TA_POWER_CNTL__WRITEDATA_CLK_EN_MODE_MASK          = 0x08000000L;
    constexpr unsigned int TA_POWER_CNTL__WRITEDATA_CLK_VALID_DELAY_MASK      = 0x07000000L;
} // namespace Gfx103

namespace Gfx103CorePlus
{
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT__PERF_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT__PERF_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT__PERF_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT__PERF_SEL0_MASK            = 0x000003ffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK     = 0x0f000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK     = 0xf0000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT__PERF_MODE0_MASK      = 0x0f000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT__PERF_MODE1_MASK      = 0xf0000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT__PERF_SEL0_MASK       = 0x000003ffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK     = 0x0f000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK     = 0xf0000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT__PERF_MODE0_MASK      = 0x0f000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT__PERF_MODE1_MASK      = 0xf0000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT__PERF_SEL0_MASK       = 0x000003ffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK     = 0x0f000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK     = 0xf0000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT__PERF_MODE0_MASK      = 0x0f000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT__PERF_MODE1_MASK      = 0xf0000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT__PERF_SEL0_MASK       = 0x000003ffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT1__PERF_MODE2_MASK     = 0x0f000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT1__PERF_MODE3_MASK     = 0xf0000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT__PERF_MODE0_MASK      = 0x0f000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT__PERF_MODE1_MASK      = 0xf0000000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT__PERF_SEL0_MASK       = 0x000003ffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK       = 0x0f000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK       = 0xf0000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT__PERF_MODE0_MASK        = 0x0f000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT__PERF_MODE1_MASK        = 0xf0000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT__PERF_SEL0_MASK         = 0x000003ffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK       = 0x0f000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK       = 0xf0000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT__PERF_MODE0_MASK        = 0x0f000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT__PERF_MODE1_MASK        = 0xf0000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT__PERF_SEL0_MASK         = 0x000003ffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK       = 0x0f000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK       = 0xf0000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT__PERF_MODE0_MASK        = 0x0f000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT__PERF_MODE1_MASK        = 0xf0000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT__PERF_SEL0_MASK         = 0x000003ffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT1__PERF_MODE2_MASK       = 0x0f000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT1__PERF_MODE3_MASK       = 0xf0000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT__PERF_MODE0_MASK        = 0x0f000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT__PERF_MODE1_MASK        = 0xf0000000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT__PERF_SEL0_MASK         = 0x000003ffL;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR__addr_MASK              = 0x000007ffL;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR__RESERVED_MASK          = 0xfffff800L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__AllSegsDone_MASK             = 0x00100000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__RearmSppPending_MASK         = 0x00400000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__RearmSwaPending_MASK         = 0x00200000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RESERVED_3_MASK                   = 0x00030000L;
    constexpr unsigned int SDMA0_PERFCNT_MISC_CNTL__CMD_OP_MASK               = 0x0000ffffL;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER0_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER0_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER0_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER1_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER1_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER1_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_HI__COMPARE_VALUE_MASK   = 0xffff0000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_HI__COUNTER_HI_MASK      = 0x0000ffffL;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_LO__COUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK = 0x02000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK = 0x01000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK = 0x0000ff00L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int SDMA0_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK = 0x00ff0000L;
    constexpr unsigned int SPI_CONFIG_PS_CU_EN__PKR_OFFSET_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_CSG_PIPE_CONTROL__HYSTERESIS_CNT_MASK          = 0x00001fffL;
} // namespace Gfx103CorePlus

namespace Gfx103Plus
{
    constexpr unsigned int CB_DCC_CONFIG__DCC_CACHE_NUM_TAGS_MASK             = 0xfe000000L;
    constexpr unsigned int CB_HW_CONTROL__CHICKEN_BITS_MASK                   = 0x00007000L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_DCC_CACHE_BYTEMASKING_MASK  = 0x00020000L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_VRS_FILLRATE_OPTIMIZATION_MASK = 0x00000002L;
    constexpr unsigned int CB_HW_CONTROL__RMI_CREDITS_MASK                    = 0x00000fc0L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__BYPASS_SORT_RD_BA_MASK    = 0x10000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DBCB_LOB_SWITCH_TIMEOUT_MASK = 0x0000f800L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_256B_COALESCE_MASK = 0x20000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_FLQ_LOB_EVERY_256B_MASK = 0x00080000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_MCC_BURST_COUNT_RESET_ON_LOB_MASK = 0x00040000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_MCC_BURST_FORCE_FLUSH_BEFORE_FIFO_MASK = 0x00200000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_ZCACHE_FL_OP_EVEN_ARB_MASK = 0x00100000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_FG_DEFAULT_TIMEOUT_MASK = 0x00020000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_DKG_LOB_GEN_MASK = 0x00400000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_FG_LOB_FWDR_MASK = 0x04000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_FL_BURST_MASK = 0x02000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_LPF_LOB_GEN_MASK = 0x00800000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_RD_BA_ACCUM_MASK = 0x08000000L;
    constexpr unsigned int DB_RENDER_OVERRIDE2__CENTROID_COMPUTATION_MODE_MASK = 0x18000000L;
    constexpr unsigned int DB_SPI_VRS_CENTER_LOCATION__CENTER_X_OFFSET_1X1_MASK = 0x0000000fL;
    constexpr unsigned int DB_SPI_VRS_CENTER_LOCATION__CENTER_X_OFFSET_1X2_MASK = 0x000f0000L;
    constexpr unsigned int DB_SPI_VRS_CENTER_LOCATION__CENTER_X_OFFSET_2X1_MASK = 0x00000f00L;
    constexpr unsigned int DB_SPI_VRS_CENTER_LOCATION__CENTER_X_OFFSET_2X2_MASK = 0x0f000000L;
    constexpr unsigned int DB_SPI_VRS_CENTER_LOCATION__CENTER_Y_OFFSET_1X1_MASK = 0x000000f0L;
    constexpr unsigned int DB_SPI_VRS_CENTER_LOCATION__CENTER_Y_OFFSET_1X2_MASK = 0x00f00000L;
    constexpr unsigned int DB_SPI_VRS_CENTER_LOCATION__CENTER_Y_OFFSET_2X1_MASK = 0x0000f000L;
    constexpr unsigned int DB_SPI_VRS_CENTER_LOCATION__CENTER_Y_OFFSET_2X2_MASK = 0xf0000000L;
    constexpr unsigned int GB_ADDR_CONFIG_READ__NUM_PKRS_MASK                 = 0x00000700L;
    constexpr unsigned int GB_ADDR_CONFIG__NUM_PKRS_MASK                      = 0x00000700L;
    constexpr unsigned int GE1_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GE1_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GE1_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GE1_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GE1_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GE1_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GE1_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GE1_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GE1_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GE1_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GE1_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GE1_PERFCOUNTER3_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK      = 0xffffffffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK      = 0x000003ffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK      = 0x000ffc00L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT__CNTR_MODE_MASK       = 0x00f00000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER0_SELECT__PERF_SEL1_MASK       = 0x000ffc00L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK      = 0xffffffffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK      = 0x000003ffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK      = 0x000ffc00L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT__CNTR_MODE_MASK       = 0x00f00000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER1_SELECT__PERF_SEL1_MASK       = 0x000ffc00L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK      = 0xffffffffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK      = 0x000003ffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK      = 0x000ffc00L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT__CNTR_MODE_MASK       = 0x00f00000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER2_SELECT__PERF_SEL1_MASK       = 0x000ffc00L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK      = 0xffffffffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT1__PERF_SEL2_MASK      = 0x000003ffL;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT1__PERF_SEL3_MASK      = 0x000ffc00L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT__CNTR_MODE_MASK       = 0x00f00000L;
    constexpr unsigned int GE2_DIST_PERFCOUNTER3_SELECT__PERF_SEL1_MASK       = 0x000ffc00L;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK        = 0xffffffffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK        = 0xffffffffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK        = 0x000003ffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK        = 0x000ffc00L;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT__CNTR_MODE_MASK         = 0x00f00000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER0_SELECT__PERF_SEL1_MASK         = 0x000ffc00L;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK        = 0xffffffffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK        = 0xffffffffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK        = 0x000003ffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK        = 0x000ffc00L;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT__CNTR_MODE_MASK         = 0x00f00000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER1_SELECT__PERF_SEL1_MASK         = 0x000ffc00L;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK        = 0xffffffffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK        = 0xffffffffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK        = 0x000003ffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK        = 0x000ffc00L;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT__CNTR_MODE_MASK         = 0x00f00000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER2_SELECT__PERF_SEL1_MASK         = 0x000ffc00L;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK        = 0xffffffffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK        = 0xffffffffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT1__PERF_SEL2_MASK        = 0x000003ffL;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT1__PERF_SEL3_MASK        = 0x000ffc00L;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT__CNTR_MODE_MASK         = 0x00f00000L;
    constexpr unsigned int GE2_SE_PERFCOUNTER3_SELECT__PERF_SEL1_MASK         = 0x000ffc00L;
    constexpr unsigned int GE_PRIV_CONTROL__CLAMP_HS_OFFCHIP_PER_SE_OVERRIDE_MASK = 0x00010000L;
    constexpr unsigned int GE_PRIV_CONTROL__FGCG_OVERRIDE_MASK                = 0x00008000L;
    constexpr unsigned int GE_VRS_RATE__RATE_X_MASK                           = 0x00000003L;
    constexpr unsigned int GE_VRS_RATE__RATE_Y_MASK                           = 0x00000030L;
    constexpr unsigned int GRBM_GFX_INDEX_SR_SELECT__VF_PF_MASK               = 0x80000000L;
    constexpr unsigned int PA_CL_NGG_CNTL__VERTEX_REUSE_DEPTH_MASK            = 0x000003fcL;
    constexpr unsigned int PA_CL_VRS_CNTL__CMASK_RATE_HINT_FORCE_ZERO_MASK    = 0x00004000L;
    constexpr unsigned int PA_CL_VRS_CNTL__EXPOSE_VRS_PIXELS_MASK_MASK        = 0x00002000L;
    constexpr unsigned int PA_CL_VRS_CNTL__HTILE_RATE_COMBINER_MODE_MASK      = 0x000001c0L;
    constexpr unsigned int PA_CL_VRS_CNTL__PRIMITIVE_RATE_COMBINER_MODE_MASK  = 0x00000038L;
    constexpr unsigned int PA_CL_VRS_CNTL__SAMPLE_ITER_COMBINER_MODE_MASK     = 0x00000e00L;
    constexpr unsigned int PA_CL_VRS_CNTL__VERTEX_RATE_COMBINER_MODE_MASK     = 0x00000007L;
    constexpr unsigned int PA_CL_VS_OUT_CNTL__BYPASS_PRIM_RATE_COMBINER_MASK  = 0x40000000L;
    constexpr unsigned int PA_CL_VS_OUT_CNTL__BYPASS_VTX_RATE_COMBINER_MASK   = 0x20000000L;
    constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_VRS_RATE_MASK           = 0x10000000L;
    constexpr unsigned int PA_PH_ENHANCE__DISABLE_USE_LAST_PH_ARBITER_PERFCOUNTER_SAMPLE_EVENT_MASK = 0x00002000L;
    constexpr unsigned int PA_SC_AA_CONFIG__COVERED_CENTROID_IS_CENTER_MASK   = 0x20000000L;
    constexpr unsigned int PA_SC_AA_CONFIG__SAMPLE_COVERAGE_ENCODING_MASK     = 0x10000000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_MAX_DEALLOC_FORCE_EOV_RESET_N_WAVES_COUNT_MASK = 0x40000000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_SC_BCI_PRIM_INTF_FINE_CLOCK_GATE_MASK = 0x00000008L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_SC_BCI_QUAD_INTF_FINE_CLOCK_GATE_MASK = 0x00000004L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_SC_DB_QUAD_INTF_FINE_CLOCK_GATE_MASK = 0x00000002L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_SC_MEM_MACRO_FINE_CLOCK_GATE_MASK = 0x00000001L;
    constexpr unsigned int PA_SC_ENHANCE_2__RSVD_MASK                         = 0x80000000L;
    constexpr unsigned int PA_SC_ENHANCE_3__DISABLE_CP_CONTEXT_DONE_PERFCOUNT_SAMPLE_EN_MASK = 0x00000020L;
    constexpr unsigned int PA_SC_ENHANCE_3__DISABLE_PKR_BCI_QUAD_NEW_PRIM_DATA_LOAD_OPTIMIZATION_MASK = 0x00000010L;
    constexpr unsigned int PA_SC_ENHANCE_3__FORCE_PBB_WORKLOAD_MODE_TO_ZERO_MASK = 0x00000008L;
    constexpr unsigned int PA_SC_ENHANCE_3__FORCE_USE_OF_SC_CENTROID_DATA_MASK = 0x00000001L;
    constexpr unsigned int PA_SU_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_SU_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR_OFFSET__global_offset_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR_OFFSET__RESERVED_MASK   = 0xff000000L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR_OFFSET__spmwithaccum_global_offset_MASK = 0x00ff0000L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR_OFFSET__spmwithaccum_se_offset_MASK = 0x0000ff00L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__RESERVED_MASK                  = 0xfffff800L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobePerfmonSampleWires_MASK  = 0x00000400L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeRearmSwaAccum_MASK       = 0x00000100L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeResetSpmBlock_MASK       = 0x00000008L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeStartSpm_MASK            = 0x000000f0L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeStartSwa_MASK            = 0x00000200L;
    constexpr unsigned int RLC_SPM_ACCUM_DATARAM_32BITCNTRS_REGIONS__RESERVED_MASK = 0xffff0000L;
    constexpr unsigned int RLC_SPM_ACCUM_DATARAM_32BITCNTRS_REGIONS__spp_addr_region_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_ACCUM_DATARAM_32BITCNTRS_REGIONS__swa_addr_region_MASK = 0x0000ff00L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoAccumEn_MASK               = 0x00000020L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoResetPerfmonDisable_MASK   = 0x00000008L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoSpmEn_MASK                 = 0x00000080L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__EnableSpmWithAccumMode_MASK    = 0x00000002L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__EnableSPPMode_MASK             = 0x00000004L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__Globals_LoadOverride_MASK      = 0x00000200L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__Globals_SwaLoadOverride_MASK   = 0x00000400L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE0_LoadOverride_MASK          = 0x00000800L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE0_SwaLoadOverride_MASK       = 0x00001000L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SwaAutoAccumEn_MASK            = 0x00000040L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SwaAutoSpmEn_MASK              = 0x00000100L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__SwaAccumArmed_MASK           = 0x00080000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__SwaAccumDone_MASK            = 0x00010000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__SwaAccumOverflow_MASK        = 0x00040000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__SwaSpmDone_MASK              = 0x00020000L;
    constexpr unsigned int RLC_SPM_ACCUM_SWA_DATARAM_ADDR__addr_MASK          = 0x0000007fL;
    constexpr unsigned int RLC_SPM_ACCUM_SWA_DATARAM_ADDR__RESERVED_MASK      = 0xffffff80L;
    constexpr unsigned int RLC_SPM_ACCUM_SWA_DATARAM_DATA__data_MASK          = 0xffffffffL;
    constexpr unsigned int RLC_SPM_GFXCLOCK_HIGHCOUNT__GFXCLOCK_HIGHCOUNT_MASK = 0xffffffffL;
    constexpr unsigned int RLC_SPM_GFXCLOCK_LOWCOUNT__GFXCLOCK_LOWCOUNT_MASK  = 0xffffffffL;
    constexpr unsigned int RLC_SPM_MC_CNTL__RESERVED_MASK                     = 0xfff00000L;
    constexpr unsigned int SPI_BARYC_SSAA_CNTL__CENTER_SSAA_MODE_MASK         = 0x00000001L;
    constexpr unsigned int SPI_BARYC_SSAA_CNTL__CENTROID_SSAA_MODE_MASK       = 0x00000002L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__SA_SCREEN_MAP_MASK              = 0x00400000L;
    constexpr unsigned int SPI_CS_CRAWLER_CONFIG__CSC_DEPTH_MASK              = 0x00000fc0L;
    constexpr unsigned int SPI_CS_CRAWLER_CONFIG__CSG_DEPTH_MASK              = 0x0000003fL;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__DOWNSTEP_MASK               = 0x00001e00L;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__ENABLE_MASK                 = 0x00000001L;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__EXP_STALL_THRESHOLD_MASK    = 0x03f80000L;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__HIGH_STALL_MON_HIST_COUNT_MASK = 0x00070000L;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__LOW_STALL_MON_HIST_COUNT_MASK = 0x0000e000L;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__PERIOD_MASK                 = 0x0000001eL;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__SKEW_COUNT_MASK             = 0x1c000000L;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__THROTTLE_RESET_MASK         = 0x20000000L;
    constexpr unsigned int SPI_EXP_THROTTLE_CTRL__UPSTEP_MASK                 = 0x000001e0L;
    constexpr unsigned int SPI_GFX_CRAWLER_CONFIG__GS_DEPTH_MASK              = 0x000007e0L;
    constexpr unsigned int SPI_GFX_CRAWLER_CONFIG__HS_DEPTH_MASK              = 0x0001f800L;
    constexpr unsigned int SPI_GFX_CRAWLER_CONFIG__PS_DEPTH_MASK              = 0x0000001fL;
    constexpr unsigned int SPI_PS_INPUT_CNTL_0__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_1__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_2__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_3__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_4__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_5__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_6__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_7__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_8__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_9__ROTATE_PC_PTR_MASK            = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_10__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_11__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_12__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_13__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_14__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_15__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_16__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_17__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_18__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_19__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_20__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_21__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_22__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_23__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_24__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_25__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_26__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_27__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_28__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_29__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_30__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_31__ROTATE_PC_PTR_MASK           = 0x00000800L;
    constexpr unsigned int SPI_PS_IN_CONTROL__NUM_PRIM_INTERP_MASK            = 0x00003e00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__LOAD_PROVOKING_VTX_MASK   = 0x08000000L;
    constexpr unsigned int SPI_VS_OUT_CONFIG__PRIM_EXPORT_COUNT_MASK          = 0x00001f00L;
    constexpr unsigned int SPI_WF_ACTIVE_COUNT_GFX__WF_ACTIVE_MASK            = 0x00ffff00L;
    constexpr unsigned int SPI_WF_ACTIVE_COUNT_GFX__WF_ALLOCATED_MASK         = 0x000000ffL;
    constexpr unsigned int SPI_WF_ACTIVE_COUNT_HPG__WF_ACTIVE_MASK            = 0x00ffff00L;
    constexpr unsigned int SPI_WF_ACTIVE_COUNT_HPG__WF_ALLOCATED_MASK         = 0x000000ffL;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_21__INT_SENT_MASK           = 0x80000000L;
    constexpr unsigned int SPI_WF_LIFETIME_STATUS_21__MAX_CNT_MASK            = 0x7fffffffL;
    constexpr unsigned int SQ_CLK_CTRL__OVERRIDE_LDS_DIRECT_BUSY_MASK         = 0x00000200L;
    constexpr unsigned int SQ_CLK_CTRL__OVERRIDE_LDS_IDX_BUSY_MASK            = 0x00000100L;
    constexpr unsigned int SQ_CLK_CTRL__PERFMON_OVERRIDE_MASK                 = 0x00000080L;
    constexpr unsigned int SQ_CLK_CTRL__SQ_SPI_EXPREQ_FGCG_OVERRIDE_MASK      = 0x00000008L;
    constexpr unsigned int SQ_CLK_CTRL__SQ_SPI_MSG_FGCG_OVERRIDE_MASK         = 0x00000004L;
    constexpr unsigned int SQ_CLK_CTRL__SQ_SQC_TTRACE_FGCG_OVERRIDE_MASK      = 0x00000020L;
    constexpr unsigned int SQ_CLK_CTRL__SQ_SX_EXPCMD_FGCG_OVERRIDE_MASK       = 0x00000010L;
    constexpr unsigned int SQ_CLK_CTRL__WCLK_OVERRIDE_MASK                    = 0x00000040L;
    constexpr unsigned int SQ_CLK_CTRL__WCLK_SLEEP_EXPALLOC_OVERRIDE_MASK     = 0x00000800L;
    constexpr unsigned int SQ_CLK_CTRL__WCLK_SLEEP_VMEM_OVERRIDE_MASK         = 0x00000400L;
    constexpr unsigned int SQ_CONFIG__DISABLE_SGPR_RD_KILL_MASK               = 0x00000400L;
    constexpr unsigned int SQ_CONFIG__WCLK_HYSTERESIS_CNT_MASK                = 0x00600000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__DISABLE_ME0PIPE0_PERF_MASK    = 0x00004000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__DISABLE_ME0PIPE1_PERF_MASK    = 0x00008000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__DISABLE_ME1PIPE0_PERF_MASK    = 0x00010000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__DISABLE_ME1PIPE1_PERF_MASK    = 0x00020000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__DISABLE_ME1PIPE2_PERF_MASK    = 0x00040000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__DISABLE_ME1PIPE3_PERF_MASK    = 0x00080000L;
    constexpr unsigned int SQ_RANDOM_WAVE_PRI__FORCE_IB_ARB_PRIO_MSK_VALID_MASK = 0x80000000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__AUTO_FLUSH_MODE_MASK         = 0x20000000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__AUTO_FLUSH_PADDING_DIS_MASK  = 0x10000000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__LOWATER_OFFSET_MASK          = 0x00700000L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS2__BUF0_FULL_MASK            = 0x00000001L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS2__BUF1_FULL_MASK            = 0x00000002L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS2__PACKET_LOST_BUF_NO_LOCKDOWN_MASK = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__OWNER_VMID_MASK            = 0xf0000000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__BOP_EVENTS_TOKEN_INCLUDE_MASK = 0x00001000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__REG_EXCLUDE_MASK       = 0x1c000000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__TOKEN_EXCLUDE_MASK     = 0x000007ffL;
    constexpr unsigned int SQ_WAVE_ACTIVE__WAVE_SLOT_MASK                     = 0x000fffffL;
    constexpr unsigned int SQ_WAVE_SHADER_CYCLES__CYCLES_MASK                 = 0x000fffffL;
    constexpr unsigned int SQ_WAVE_TRAPSTS__UTC_ERROR_MASK                    = 0x10000000L;
    constexpr unsigned int SQ_WAVE_VALID_AND_IDLE__WAVE_SLOT_MASK             = 0x000fffffL;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK           = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK           = 0x0f000000L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERF_MODE1_MASK            = 0x0f000000L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int SX_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER2_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER2_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int SX_PERFCOUNTER3_SELECT__PERF_MODE_MASK             = 0xf0000000L;
    constexpr unsigned int SX_PERFCOUNTER3_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int SX_PS_DOWNCONVERT_CONTROL__MRT0_FMT_MAPPING_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int SX_PS_DOWNCONVERT_CONTROL__MRT1_FMT_MAPPING_DISABLE_MASK = 0x00000002L;
    constexpr unsigned int SX_PS_DOWNCONVERT_CONTROL__MRT2_FMT_MAPPING_DISABLE_MASK = 0x00000004L;
    constexpr unsigned int SX_PS_DOWNCONVERT_CONTROL__MRT3_FMT_MAPPING_DISABLE_MASK = 0x00000008L;
    constexpr unsigned int SX_PS_DOWNCONVERT_CONTROL__MRT4_FMT_MAPPING_DISABLE_MASK = 0x00000010L;
    constexpr unsigned int SX_PS_DOWNCONVERT_CONTROL__MRT5_FMT_MAPPING_DISABLE_MASK = 0x00000020L;
    constexpr unsigned int SX_PS_DOWNCONVERT_CONTROL__MRT6_FMT_MAPPING_DISABLE_MASK = 0x00000040L;
    constexpr unsigned int SX_PS_DOWNCONVERT_CONTROL__MRT7_FMT_MAPPING_DISABLE_MASK = 0x00000080L;
    constexpr unsigned int TA_CNTL_AUX__CORNER_SAMPLES_MIN_DIM_MASK           = 0x00000004L;
    constexpr unsigned int TA_CNTL_AUX__DEPTH_AS_PITCH_DIS_MASK               = 0x00000002L;
    constexpr unsigned int TA_CNTL_AUX__OVERRIDE_QUAD_MODE_DIS_MASK           = 0x00000008L;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int TA_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int TA_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000003ffL;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x000ffc00L;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x000ffc00L;
    constexpr unsigned int TD_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int TD_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000003ffL;
    constexpr unsigned int VGT_DMA_INDEX_TYPE__DISABLE_INSTANCE_PACKING_MASK  = 0x00004000L;
    constexpr unsigned int VGT_DRAW_PAYLOAD_CNTL__EN_VRS_RATE_MASK            = 0x00000040L;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM__OFFCHIP_BUFFERING_MASK       = 0x000003ffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM__OFFCHIP_GRANULARITY_MASK     = 0x00000c00L;
    constexpr unsigned int VGT_INDEX_TYPE__DISABLE_INSTANCE_PACKING_MASK      = 0x00004000L;
    constexpr unsigned int VGT_SYS_CONFIG__NUM_SUBGROUPS_IN_FLIGHT_MASK       = 0x0007ff00L;
} // namespace Gfx103Plus

namespace Gfx10Core
{
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER0_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER1_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER2_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER3_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int ATC_PERFCOUNTER_HI__COMPARE_VALUE_MASK             = 0xffff0000L;
    constexpr unsigned int ATC_PERFCOUNTER_HI__COUNTER_HI_MASK                = 0x0000ffffL;
    constexpr unsigned int ATC_PERFCOUNTER_LO__COUNTER_LO_MASK                = 0xffffffffL;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK          = 0x02000000L;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK         = 0x01000000L;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK      = 0x0000ff00L;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int ATC_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK       = 0x00ff0000L;
    constexpr unsigned int CB_COLOR0_ATTRIB3__RESOURCE_LEVEL_MASK             = 0x38000000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__DISABLE_FMASK_NOFETCH_OPT_MASK   = 0x00040000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__FMASK_BANK_HEIGHT_MASK           = 0x00000c00L;
    constexpr unsigned int CB_COLOR0_ATTRIB__FMASK_TILE_MODE_INDEX_MASK       = 0x000003e0L;
    constexpr unsigned int CB_COLOR0_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__LIMIT_COLOR_FETCH_TO_256B_MAX_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR0_ATTRIB__TILE_MODE_INDEX_MASK             = 0x0000001fL;
    constexpr unsigned int CB_COLOR0_CMASK_SLICE__TILE_MAX_MASK               = 0x00003fffL;
    constexpr unsigned int CB_COLOR0_FMASK_SLICE__TILE_MAX_MASK               = 0x003fffffL;
    constexpr unsigned int CB_COLOR0_INFO__CMASK_IS_LINEAR_MASK               = 0x00080000L;
    constexpr unsigned int CB_COLOR0_PITCH__FMASK_TILE_MAX_MASK               = 0x7ff00000L;
    constexpr unsigned int CB_COLOR0_PITCH__TILE_MAX_MASK                     = 0x000007ffL;
    constexpr unsigned int CB_COLOR0_SLICE__TILE_MAX_MASK                     = 0x003fffffL;
    constexpr unsigned int CB_COLOR1_ATTRIB3__RESOURCE_LEVEL_MASK             = 0x38000000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__DISABLE_FMASK_NOFETCH_OPT_MASK   = 0x00040000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__FMASK_BANK_HEIGHT_MASK           = 0x00000c00L;
    constexpr unsigned int CB_COLOR1_ATTRIB__FMASK_TILE_MODE_INDEX_MASK       = 0x000003e0L;
    constexpr unsigned int CB_COLOR1_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__LIMIT_COLOR_FETCH_TO_256B_MAX_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR1_ATTRIB__TILE_MODE_INDEX_MASK             = 0x0000001fL;
    constexpr unsigned int CB_COLOR1_CMASK_SLICE__TILE_MAX_MASK               = 0x00003fffL;
    constexpr unsigned int CB_COLOR1_FMASK_SLICE__TILE_MAX_MASK               = 0x003fffffL;
    constexpr unsigned int CB_COLOR1_INFO__CMASK_IS_LINEAR_MASK               = 0x00080000L;
    constexpr unsigned int CB_COLOR1_PITCH__FMASK_TILE_MAX_MASK               = 0x7ff00000L;
    constexpr unsigned int CB_COLOR1_PITCH__TILE_MAX_MASK                     = 0x000007ffL;
    constexpr unsigned int CB_COLOR1_SLICE__TILE_MAX_MASK                     = 0x003fffffL;
    constexpr unsigned int CB_COLOR2_ATTRIB3__RESOURCE_LEVEL_MASK             = 0x38000000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__DISABLE_FMASK_NOFETCH_OPT_MASK   = 0x00040000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__FMASK_BANK_HEIGHT_MASK           = 0x00000c00L;
    constexpr unsigned int CB_COLOR2_ATTRIB__FMASK_TILE_MODE_INDEX_MASK       = 0x000003e0L;
    constexpr unsigned int CB_COLOR2_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__LIMIT_COLOR_FETCH_TO_256B_MAX_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR2_ATTRIB__TILE_MODE_INDEX_MASK             = 0x0000001fL;
    constexpr unsigned int CB_COLOR2_CMASK_SLICE__TILE_MAX_MASK               = 0x00003fffL;
    constexpr unsigned int CB_COLOR2_FMASK_SLICE__TILE_MAX_MASK               = 0x003fffffL;
    constexpr unsigned int CB_COLOR2_INFO__CMASK_IS_LINEAR_MASK               = 0x00080000L;
    constexpr unsigned int CB_COLOR2_PITCH__FMASK_TILE_MAX_MASK               = 0x7ff00000L;
    constexpr unsigned int CB_COLOR2_PITCH__TILE_MAX_MASK                     = 0x000007ffL;
    constexpr unsigned int CB_COLOR2_SLICE__TILE_MAX_MASK                     = 0x003fffffL;
    constexpr unsigned int CB_COLOR3_ATTRIB3__RESOURCE_LEVEL_MASK             = 0x38000000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__DISABLE_FMASK_NOFETCH_OPT_MASK   = 0x00040000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__FMASK_BANK_HEIGHT_MASK           = 0x00000c00L;
    constexpr unsigned int CB_COLOR3_ATTRIB__FMASK_TILE_MODE_INDEX_MASK       = 0x000003e0L;
    constexpr unsigned int CB_COLOR3_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__LIMIT_COLOR_FETCH_TO_256B_MAX_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR3_ATTRIB__TILE_MODE_INDEX_MASK             = 0x0000001fL;
    constexpr unsigned int CB_COLOR3_CMASK_SLICE__TILE_MAX_MASK               = 0x00003fffL;
    constexpr unsigned int CB_COLOR3_FMASK_SLICE__TILE_MAX_MASK               = 0x003fffffL;
    constexpr unsigned int CB_COLOR3_INFO__CMASK_IS_LINEAR_MASK               = 0x00080000L;
    constexpr unsigned int CB_COLOR3_PITCH__FMASK_TILE_MAX_MASK               = 0x7ff00000L;
    constexpr unsigned int CB_COLOR3_PITCH__TILE_MAX_MASK                     = 0x000007ffL;
    constexpr unsigned int CB_COLOR3_SLICE__TILE_MAX_MASK                     = 0x003fffffL;
    constexpr unsigned int CB_COLOR4_ATTRIB3__RESOURCE_LEVEL_MASK             = 0x38000000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__DISABLE_FMASK_NOFETCH_OPT_MASK   = 0x00040000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__FMASK_BANK_HEIGHT_MASK           = 0x00000c00L;
    constexpr unsigned int CB_COLOR4_ATTRIB__FMASK_TILE_MODE_INDEX_MASK       = 0x000003e0L;
    constexpr unsigned int CB_COLOR4_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__LIMIT_COLOR_FETCH_TO_256B_MAX_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR4_ATTRIB__TILE_MODE_INDEX_MASK             = 0x0000001fL;
    constexpr unsigned int CB_COLOR4_CMASK_SLICE__TILE_MAX_MASK               = 0x00003fffL;
    constexpr unsigned int CB_COLOR4_FMASK_SLICE__TILE_MAX_MASK               = 0x003fffffL;
    constexpr unsigned int CB_COLOR4_INFO__CMASK_IS_LINEAR_MASK               = 0x00080000L;
    constexpr unsigned int CB_COLOR4_PITCH__FMASK_TILE_MAX_MASK               = 0x7ff00000L;
    constexpr unsigned int CB_COLOR4_PITCH__TILE_MAX_MASK                     = 0x000007ffL;
    constexpr unsigned int CB_COLOR4_SLICE__TILE_MAX_MASK                     = 0x003fffffL;
    constexpr unsigned int CB_COLOR5_ATTRIB3__RESOURCE_LEVEL_MASK             = 0x38000000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__DISABLE_FMASK_NOFETCH_OPT_MASK   = 0x00040000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__FMASK_BANK_HEIGHT_MASK           = 0x00000c00L;
    constexpr unsigned int CB_COLOR5_ATTRIB__FMASK_TILE_MODE_INDEX_MASK       = 0x000003e0L;
    constexpr unsigned int CB_COLOR5_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__LIMIT_COLOR_FETCH_TO_256B_MAX_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR5_ATTRIB__TILE_MODE_INDEX_MASK             = 0x0000001fL;
    constexpr unsigned int CB_COLOR5_CMASK_SLICE__TILE_MAX_MASK               = 0x00003fffL;
    constexpr unsigned int CB_COLOR5_FMASK_SLICE__TILE_MAX_MASK               = 0x003fffffL;
    constexpr unsigned int CB_COLOR5_INFO__CMASK_IS_LINEAR_MASK               = 0x00080000L;
    constexpr unsigned int CB_COLOR5_PITCH__FMASK_TILE_MAX_MASK               = 0x7ff00000L;
    constexpr unsigned int CB_COLOR5_PITCH__TILE_MAX_MASK                     = 0x000007ffL;
    constexpr unsigned int CB_COLOR5_SLICE__TILE_MAX_MASK                     = 0x003fffffL;
    constexpr unsigned int CB_COLOR6_ATTRIB3__RESOURCE_LEVEL_MASK             = 0x38000000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__DISABLE_FMASK_NOFETCH_OPT_MASK   = 0x00040000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__FMASK_BANK_HEIGHT_MASK           = 0x00000c00L;
    constexpr unsigned int CB_COLOR6_ATTRIB__FMASK_TILE_MODE_INDEX_MASK       = 0x000003e0L;
    constexpr unsigned int CB_COLOR6_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__LIMIT_COLOR_FETCH_TO_256B_MAX_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR6_ATTRIB__TILE_MODE_INDEX_MASK             = 0x0000001fL;
    constexpr unsigned int CB_COLOR6_CMASK_SLICE__TILE_MAX_MASK               = 0x00003fffL;
    constexpr unsigned int CB_COLOR6_FMASK_SLICE__TILE_MAX_MASK               = 0x003fffffL;
    constexpr unsigned int CB_COLOR6_INFO__CMASK_IS_LINEAR_MASK               = 0x00080000L;
    constexpr unsigned int CB_COLOR6_PITCH__FMASK_TILE_MAX_MASK               = 0x7ff00000L;
    constexpr unsigned int CB_COLOR6_PITCH__TILE_MAX_MASK                     = 0x000007ffL;
    constexpr unsigned int CB_COLOR6_SLICE__TILE_MAX_MASK                     = 0x003fffffL;
    constexpr unsigned int CB_COLOR7_ATTRIB3__RESOURCE_LEVEL_MASK             = 0x38000000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__DISABLE_FMASK_NOFETCH_OPT_MASK   = 0x00040000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__FMASK_BANK_HEIGHT_MASK           = 0x00000c00L;
    constexpr unsigned int CB_COLOR7_ATTRIB__FMASK_TILE_MODE_INDEX_MASK       = 0x000003e0L;
    constexpr unsigned int CB_COLOR7_ATTRIB__FORCE_DST_ALPHA_1_MASK           = 0x00020000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__LIMIT_COLOR_FETCH_TO_256B_MAX_MASK = 0x00080000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__NUM_FRAGMENTS_MASK               = 0x00018000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__NUM_SAMPLES_MASK                 = 0x00007000L;
    constexpr unsigned int CB_COLOR7_ATTRIB__TILE_MODE_INDEX_MASK             = 0x0000001fL;
    constexpr unsigned int CB_COLOR7_CMASK_SLICE__TILE_MAX_MASK               = 0x00003fffL;
    constexpr unsigned int CB_COLOR7_FMASK_SLICE__TILE_MAX_MASK               = 0x003fffffL;
    constexpr unsigned int CB_COLOR7_INFO__CMASK_IS_LINEAR_MASK               = 0x00080000L;
    constexpr unsigned int CB_COLOR7_PITCH__FMASK_TILE_MAX_MASK               = 0x7ff00000L;
    constexpr unsigned int CB_COLOR7_PITCH__TILE_MAX_MASK                     = 0x000007ffL;
    constexpr unsigned int CB_COLOR7_SLICE__TILE_MAX_MASK                     = 0x003fffffL;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_BLENDER_CLOCK_GATING_MASK = 0x04000000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_FMASK_NOFETCH_OPT_BC_MASK = 0x80000000L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_BC_COLOR_CACHE_PREFETCH_MASK = 0x00004000L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_CMASK_CLOCK_GATING_MASK   = 0x00000040L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_COLOR_CLOCK_GATING_MASK   = 0x00000100L;
    constexpr unsigned int CB_HW_CONTROL_4__DISABLE_FMASK_CLOCK_GATING_MASK   = 0x00000080L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_INTNORM_LE11BPC_CLAMPING_MASK = 0x00040000L;
    constexpr unsigned int CB_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK            = 0x000001ffL;
    constexpr unsigned int CB_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK            = 0x0007fc00L;
    constexpr unsigned int CB_PERFCOUNTER0_SELECT__PERF_SEL1_MASK             = 0x0007fc00L;
    constexpr unsigned int CB_PERFCOUNTER0_SELECT__PERF_SEL_MASK              = 0x000001ffL;
    constexpr unsigned int CB_PERFCOUNTER1_SELECT__PERF_SEL_MASK              = 0x000001ffL;
    constexpr unsigned int CB_PERFCOUNTER2_SELECT__PERF_SEL_MASK              = 0x000001ffL;
    constexpr unsigned int CB_PERFCOUNTER3_SELECT__PERF_SEL_MASK              = 0x000001ffL;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__CMASK_RD_POLICY_MASK  = 0x00030000L;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__CMASK_WR_POLICY_MASK  = 0x00000003L;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__COLOR_RD_POLICY_MASK  = 0x00c00000L;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__COLOR_WR_POLICY_MASK  = 0x000000c0L;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__DCC_RD_POLICY_MASK    = 0x00300000L;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__DCC_WR_POLICY_MASK    = 0x00000030L;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__FMASK_RD_POLICY_MASK  = 0x000c0000L;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__FMASK_WR_POLICY_MASK  = 0x0000000cL;
    constexpr unsigned int CB_RMI_BC_GL2_CACHE_CONTROL__VOLAT_MASK            = 0x80000000L;
    constexpr unsigned int CB_STUTTER_CONTROL_CMASK_RDLAT__THRESHOLD_MASK     = 0x000000ffL;
    constexpr unsigned int CB_STUTTER_CONTROL_CMASK_RDLAT__TIMEOUT_MASK       = 0x0000ff00L;
    constexpr unsigned int CB_STUTTER_CONTROL_FMASK_RDLAT__THRESHOLD_MASK     = 0x000000ffL;
    constexpr unsigned int CB_STUTTER_CONTROL_FMASK_RDLAT__TIMEOUT_MASK       = 0x0000ff00L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__OFF_HYSTERESIS_MASK            = 0x00000ff0L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__ON_DELAY_MASK                  = 0x0000000fL;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__RESERVED_MASK                  = 0x0000f000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE0_MASK            = 0x80000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE1_MASK            = 0x40000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE2_MASK            = 0x20000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE3_MASK            = 0x10000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE4_MASK            = 0x08000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE5_MASK            = 0x04000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE6_MASK            = 0x02000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_OVERRIDE7_MASK            = 0x01000000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE0_MASK      = 0x00800000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE1_MASK      = 0x00400000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE2_MASK      = 0x00200000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE3_MASK      = 0x00100000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE4_MASK      = 0x00080000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE5_MASK      = 0x00040000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE6_MASK      = 0x00020000L;
    constexpr unsigned int DB_CGTT_CLK_CTRL_0__SOFT_STALL_OVERRIDE7_MASK      = 0x00010000L;
    constexpr unsigned int DB_DFSM_CONFIG__BYPASS_DFSM_MASK                   = 0x00000001L;
    constexpr unsigned int DB_DFSM_CONFIG__DISABLE_POPS_MASK                  = 0x00000004L;
    constexpr unsigned int DB_DFSM_CONFIG__DISABLE_PUNCHOUT_MASK              = 0x00000002L;
    constexpr unsigned int DB_DFSM_CONFIG__FORCE_FLUSH_MASK                   = 0x00000008L;
    constexpr unsigned int DB_DFSM_CONFIG__OUTPUT_WATCHDOG_MASK               = 0xff000000L;
    constexpr unsigned int DB_DFSM_CONFIG__SQUAD_WATERMARK_MASK               = 0x00003ff0L;
    constexpr unsigned int DB_DFSM_CONTROL__DISALLOW_OVERFLOW_MASK            = 0x00000008L;
    constexpr unsigned int DB_DFSM_CONTROL__POPS_DRAIN_PS_ON_OVERLAP_MASK     = 0x00000004L;
    constexpr unsigned int DB_DFSM_CONTROL__PUNCHOUT_MODE_MASK                = 0x00000003L;
    constexpr unsigned int DB_DFSM_FLUSH_AUX_EVENT__EVENT_A_MASK              = 0x000000ffL;
    constexpr unsigned int DB_DFSM_FLUSH_AUX_EVENT__EVENT_B_MASK              = 0x0000ff00L;
    constexpr unsigned int DB_DFSM_FLUSH_AUX_EVENT__EVENT_C_MASK              = 0x00ff0000L;
    constexpr unsigned int DB_DFSM_FLUSH_AUX_EVENT__EVENT_D_MASK              = 0xff000000L;
    constexpr unsigned int DB_DFSM_FLUSH_ENABLE__AUX_EVENTS_MASK              = 0xf0000000L;
    constexpr unsigned int DB_DFSM_FLUSH_ENABLE__AUX_FORCE_PASSTHRU_MASK      = 0x0f000000L;
    constexpr unsigned int DB_DFSM_FLUSH_ENABLE__PRIMARY_EVENTS_MASK          = 0x000007ffL;
    constexpr unsigned int DB_DFSM_PRIMS_IN_FLIGHT__HIGH_WATERMARK_MASK       = 0x0000ffffL;
    constexpr unsigned int DB_DFSM_TILES_IN_FLIGHT__HIGH_WATERMARK_MASK       = 0x0000ffffL;
    constexpr unsigned int DB_DFSM_WATCHDOG__TIMER_TARGET_MASK                = 0xffffffffL;
    constexpr unsigned int DB_RMI_BC_GL2_CACHE_CONTROL__HTILE_RD_POLICY_MASK  = 0x00300000L;
    constexpr unsigned int DB_RMI_BC_GL2_CACHE_CONTROL__HTILE_WR_POLICY_MASK  = 0x00000030L;
    constexpr unsigned int DB_RMI_BC_GL2_CACHE_CONTROL__S_RD_POLICY_MASK      = 0x000c0000L;
    constexpr unsigned int DB_RMI_BC_GL2_CACHE_CONTROL__S_WR_POLICY_MASK      = 0x0000000cL;
    constexpr unsigned int DB_RMI_BC_GL2_CACHE_CONTROL__VOL_MASK              = 0x80000000L;
    constexpr unsigned int DB_RMI_BC_GL2_CACHE_CONTROL__ZPCPSD_WR_POLICY_MASK = 0x000000c0L;
    constexpr unsigned int DB_RMI_BC_GL2_CACHE_CONTROL__Z_RD_POLICY_MASK      = 0x00030000L;
    constexpr unsigned int DB_RMI_BC_GL2_CACHE_CONTROL__Z_WR_POLICY_MASK      = 0x00000003L;
    constexpr unsigned int GE_PC_CNTL__EN_GEN_0_1_LATE_ALLOC_MASK             = 0x00010000L;
    constexpr unsigned int PA_SC_ENHANCE_2__ENABLE_BLOCKING_WRITES_OF_GEN2_REG_MASK = 0x00100000L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_RB_PER_SE_MASK   = 0x00000060L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_SE_MASK          = 0x00000006L;
    constexpr unsigned int RLC_SPM_PERFMON_CNTL__RESERVED_MASK                = 0x0000c000L;
    constexpr unsigned int RMI_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x0007fc00L;
    constexpr unsigned int RMI_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x0007fc00L;
    constexpr unsigned int RMI_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK           = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK           = 0x0007fc00L;
    constexpr unsigned int RMI_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x0007fc00L;
    constexpr unsigned int RMI_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int RMI_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000001ffL;
    constexpr unsigned int SPI_CONFIG_CNTL_1__CRC_SIMD_ID_WADDR_DISABLE_MASK  = 0x00000100L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__LBPW_CU_CHK_MODE_MASK           = 0x00000200L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_0__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_1__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_2__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_3__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_4__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_5__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_6__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_7__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_8__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_9__CYL_WRAP_MASK                 = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_10__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_11__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_12__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_13__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_14__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_15__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_16__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_17__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_18__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_PS_INPUT_CNTL_19__CYL_WRAP_MASK                = 0x0001e000L;
    constexpr unsigned int SPI_SHADER_PGM_HI_GS__MEM_BASE_MASK                = 0x000000ffL;
    constexpr unsigned int SPI_SHADER_PGM_HI_HS__MEM_BASE_MASK                = 0x000000ffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_VS__DISPATCH_DRAW_EN_MASK     = 0x01000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_PS__LOCK_LOW_THRESHOLD_MASK   = 0x03c00000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC4_GS__CU_EN_MASK                = 0x0000ffffL;
    constexpr unsigned int SQ_EDC_CNT__LDS_D_DED_COUNT_MASK                   = 0x0000000cL;
    constexpr unsigned int SQ_EDC_CNT__LDS_D_SEC_COUNT_MASK                   = 0x00000003L;
    constexpr unsigned int SQ_EDC_CNT__LDS_I_DED_COUNT_MASK                   = 0x000000c0L;
    constexpr unsigned int SQ_EDC_CNT__LDS_I_SEC_COUNT_MASK                   = 0x00000030L;
    constexpr unsigned int SQ_EDC_CNT__SGPR_DED_COUNT_MASK                    = 0x00000c00L;
    constexpr unsigned int SQ_EDC_CNT__SGPR_SEC_COUNT_MASK                    = 0x00000300L;
    constexpr unsigned int SQ_EDC_CNT__VGPR0_DED_COUNT_MASK                   = 0x0000c000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR0_SEC_COUNT_MASK                   = 0x00003000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR1_DED_COUNT_MASK                   = 0x000c0000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR1_SEC_COUNT_MASK                   = 0x00030000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR2_DED_COUNT_MASK                   = 0x00c00000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR2_SEC_COUNT_MASK                   = 0x00300000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR3_DED_COUNT_MASK                   = 0x0c000000L;
    constexpr unsigned int SQ_EDC_CNT__VGPR3_SEC_COUNT_MASK                   = 0x03000000L;
    constexpr unsigned int SQ_EDC_FUE_CNTL__BLOCK_FUE_FLAGS_MASK              = 0x0000ffffL;
    constexpr unsigned int SQ_EDC_FUE_CNTL__FUE_INTERRUPT_ENABLES_MASK        = 0xffff0000L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__ES_EN_MASK                    = 0x00000008L;
    constexpr unsigned int SQ_PERFCOUNTER_CTRL__LS_EN_MASK                    = 0x00000020L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__EVENT_CNTR_OVERFLOW_MASK   = 0x04000000L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__EVENT_CNTR_STALL_MASK      = 0x08000000L;
    constexpr unsigned int SQ_TIME_HI__TIME_MASK                              = 0xffffffffL;
    constexpr unsigned int SQ_TIME_LO__TIME_MASK                              = 0xffffffffL;
    constexpr unsigned int SQ_WAVE_GPR_ALLOC__SGPR_BASE_MASK                  = 0x00ff0000L;
    constexpr unsigned int SQ_WAVE_GPR_ALLOC__SGPR_SIZE_MASK                  = 0x0f000000L;
    constexpr unsigned int SQ_WAVE_HW_ID2__COMPAT_LEVEL_MASK                  = 0x60000000L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__CU_ID_MASK                   = 0x00000f00L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__ME_ID_MASK                   = 0xc0000000L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__PIPE_ID_MASK                 = 0x000000c0L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__QUEUE_ID_MASK                = 0x07000000L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__SE_ID_MASK                   = 0x00006000L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__SH_ID_MASK                   = 0x00001000L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__SIMD_ID_MASK                 = 0x00000030L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__STATE_ID_MASK                = 0x38000000L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__TG_ID_MASK                   = 0x000f0000L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__VM_ID_MASK                   = 0x00f00000L;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__WAVE_ID_MASK                 = 0x0000000fL;
    constexpr unsigned int SQ_WAVE_HW_ID_LEGACY__WAVE_ID_MSB_MASK             = 0x00008000L;
    constexpr unsigned int SQ_WAVE_IB_STS2__RESOURCE_OVERRIDE_MASK            = 0x00000080L;
    constexpr unsigned int SQ_WAVE_IB_STS__EXP_CNT_MASK                       = 0x00000070L;
    constexpr unsigned int SQ_WAVE_IB_STS__LGKM_CNT_BIT4_MASK                 = 0x00000080L;
    constexpr unsigned int SQ_WAVE_IB_STS__LGKM_CNT_BIT5_MASK                 = 0x01000000L;
    constexpr unsigned int SQ_WAVE_IB_STS__LGKM_CNT_MASK                      = 0x00000f00L;
    constexpr unsigned int SQ_WAVE_IB_STS__VALU_CNT_MASK                      = 0x00007000L;
    constexpr unsigned int SQ_WAVE_IB_STS__VM_CNT_HI_MASK                     = 0x00c00000L;
    constexpr unsigned int SQ_WAVE_IB_STS__VM_CNT_MASK                        = 0x0000000fL;
    constexpr unsigned int SQ_WAVE_INST_DW0__INST_DW0_MASK                    = 0xffffffffL;
    constexpr unsigned int SQ_WAVE_MODE__DEBUG_EN_MASK                        = 0x00000800L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__DP_RATE_MASK                      = 0xe0000000L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__EXCP_CYCLE_MASK                   = 0x000f0000L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__EXCP_GROUP_MASK_MASK              = 0x00f00000L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__EXCP_WAVE64HI_MASK                = 0x01000000L;
    constexpr unsigned int SQ_WAVE_VGPR_OFFSET__DST_MASK                      = 0x00fc0000L;
    constexpr unsigned int SQ_WAVE_VGPR_OFFSET__SRC0_MASK                     = 0x0000003fL;
    constexpr unsigned int SQ_WAVE_VGPR_OFFSET__SRC1_MASK                     = 0x00000fc0L;
    constexpr unsigned int SQ_WAVE_VGPR_OFFSET__SRC2_MASK                     = 0x0003f000L;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__ADDR_HI_MASK                    = 0x0000ffffL;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__FIRST_WAVE_MASK                 = 0x04000000L;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__MSB_MASK                        = 0x80000000L;
    constexpr unsigned int SQ_WREXEC_EXEC_HI__MTYPE_MASK                      = 0x70000000L;
    constexpr unsigned int SQ_WREXEC_EXEC_LO__ADDR_LO_MASK                    = 0xffffffffL;
    constexpr unsigned int TA_CNTL_AUX__DISABLE_DWORD_X2_COALESCE_MASK        = 0x08000000L;
    constexpr unsigned int TA_POWER_CNTL__NOSAMPLER_CLK_EN_MODE_MASK          = 0x00080000L;
    constexpr unsigned int TA_POWER_CNTL__NOSAMPLER_CLK_VALID_DELAY_MASK      = 0x00070000L;
    constexpr unsigned int TA_POWER_CNTL__SAMPLER_CLK_EN_MODE_MASK            = 0x00000008L;
    constexpr unsigned int TA_POWER_CNTL__SAMPLER_CLK_VALID_DELAY_MASK        = 0x00000007L;
    constexpr unsigned int TA_RESERVED_010C__Unused_MASK                      = 0xffffffffL;
    constexpr unsigned int VGT_DISPATCH_DRAW_INDEX__MATCH_INDEX_MASK          = 0xffffffffL;
    constexpr unsigned int VGT_SHADER_STAGES_EN__DISPATCH_DRAW_EN_MASK        = 0x00000200L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__DIS_DEALLOC_ACCUM_0_MASK     = 0x00000400L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__DIS_DEALLOC_ACCUM_1_MASK     = 0x00000800L;
    constexpr unsigned int WD_CNTL_SB_BUF_BASE_HI__BASE_HI_MASK               = 0x000000ffL;
    constexpr unsigned int WD_CNTL_SB_BUF_BASE__BASE_MASK                     = 0xffffffffL;
    constexpr unsigned int WD_INDEX_BUF_BASE_HI__BASE_HI_MASK                 = 0x000000ffL;
    constexpr unsigned int WD_INDEX_BUF_BASE__BASE_MASK                       = 0xffffffffL;
    constexpr unsigned int WD_POS_BUF_BASE_HI__BASE_HI_MASK                   = 0x000000ffL;
    constexpr unsigned int WD_POS_BUF_BASE__BASE_MASK                         = 0xffffffffL;
} // namespace Gfx10Core

namespace Gfx10CorePlus
{
    constexpr unsigned int CB_STUTTER_CONTROL_COLOR_RDLAT__THRESHOLD_MASK     = 0x000000ffL;
    constexpr unsigned int CB_STUTTER_CONTROL_COLOR_RDLAT__TIMEOUT_MASK       = 0x0000ff00L;
    constexpr unsigned int CPC_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPF_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPG_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GCEA_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GCEA_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GCEA_PERFCOUNTER2_MODE__COMPARE_MODE0_MASK         = 0x00000003L;
    constexpr unsigned int GCEA_PERFCOUNTER2_MODE__COMPARE_MODE1_MASK         = 0x0000000cL;
    constexpr unsigned int GCEA_PERFCOUNTER2_MODE__COMPARE_MODE2_MASK         = 0x00000030L;
    constexpr unsigned int GCEA_PERFCOUNTER2_MODE__COMPARE_MODE3_MASK         = 0x000000c0L;
    constexpr unsigned int GCEA_PERFCOUNTER2_MODE__COMPARE_VALUE0_MASK        = 0x00000f00L;
    constexpr unsigned int GCEA_PERFCOUNTER2_MODE__COMPARE_VALUE1_MASK        = 0x0000f000L;
    constexpr unsigned int GCEA_PERFCOUNTER2_MODE__COMPARE_VALUE2_MASK        = 0x000f0000L;
    constexpr unsigned int GCEA_PERFCOUNTER2_MODE__COMPARE_VALUE3_MASK        = 0x00f00000L;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK         = 0xf0000000L;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK         = 0x0f000000L;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int GCEA_PERFCOUNTER2_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GDS_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT_HI__GUS_BUSY_USER_DEFINED_MASK_MASK = 0x00000080L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT_HI__PMM_BUSY_USER_DEFINED_MASK_MASK = 0x00000040L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT_HI__GUS_BUSY_USER_DEFINED_MASK_MASK = 0x00000080L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT_HI__PMM_BUSY_USER_DEFINED_MASK_MASK = 0x00000040L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__GL1CC_BUSY_USER_DEFINED_MASK_MASK = 0x02000000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__TCP_BUSY_USER_DEFINED_MASK_MASK = 0x01000000L;
    constexpr unsigned int GRBM_SE1_PERFCOUNTER_SELECT__UTCL1_BUSY_USER_DEFINED_MASK_MASK = 0x00800000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__GL1CC_BUSY_USER_DEFINED_MASK_MASK = 0x02000000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__TCP_BUSY_USER_DEFINED_MASK_MASK = 0x01000000L;
    constexpr unsigned int GRBM_SE2_PERFCOUNTER_SELECT__UTCL1_BUSY_USER_DEFINED_MASK_MASK = 0x00800000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__GL1CC_BUSY_USER_DEFINED_MASK_MASK = 0x02000000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__TCP_BUSY_USER_DEFINED_MASK_MASK = 0x01000000L;
    constexpr unsigned int GRBM_SE3_PERFCOUNTER_SELECT__UTCL1_BUSY_USER_DEFINED_MASK_MASK = 0x00800000L;
    constexpr unsigned int IA_UTCL1_STATUS_2__FAULT_DETECTED_MASK             = 0x00000020L;
    constexpr unsigned int IA_UTCL1_STATUS_2__FAULT_UTCL1ID_MASK              = 0x00003f00L;
    constexpr unsigned int IA_UTCL1_STATUS_2__IA_ADC_BUSY_MASK                = 0x00000010L;
    constexpr unsigned int IA_UTCL1_STATUS_2__IA_BUSY_MASK                    = 0x00000001L;
    constexpr unsigned int IA_UTCL1_STATUS_2__IA_DMA_BUSY_MASK                = 0x00000002L;
    constexpr unsigned int IA_UTCL1_STATUS_2__IA_DMA_REQ_BUSY_MASK            = 0x00000004L;
    constexpr unsigned int IA_UTCL1_STATUS_2__IA_GRP_BUSY_MASK                = 0x00000008L;
    constexpr unsigned int IA_UTCL1_STATUS_2__PRT_DETECTED_MASK               = 0x00000080L;
    constexpr unsigned int IA_UTCL1_STATUS_2__PRT_UTCL1ID_MASK                = 0x3f000000L;
    constexpr unsigned int IA_UTCL1_STATUS_2__RETRY_DETECTED_MASK             = 0x00000040L;
    constexpr unsigned int IA_UTCL1_STATUS_2__RETRY_UTCL1ID_MASK              = 0x003f0000L;
    constexpr unsigned int PA_SC_ENHANCE_1__DEBUG_PIXEL_PICKER_COUNT_PIXELS_MASK = 0x00002000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_BC_MASK                   = 0x00001000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_VOL_MASK                  = 0x00004000L;
    constexpr unsigned int SDMA0_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA0_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA0_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA0_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int TA_CNTL_AUX__DERIV_ADJUST_DIS_MASK                 = 0x00000010L;
} // namespace Gfx10CorePlus

namespace Gfx10Plus
{
    constexpr unsigned int CB_CACHE_EVICT_POINTS__CC_CACHE_EVICT_POINT_MASK   = 0xff000000L;
    constexpr unsigned int CB_CACHE_EVICT_POINTS__DCC_CACHE_EVICT_POINT_MASK  = 0x00ff0000L;
    constexpr unsigned int CB_COLOR0_ATTRIB3__COLOR_SW_MODE_MASK              = 0x0007c000L;
    constexpr unsigned int CB_COLOR0_ATTRIB3__DCC_PIPE_ALIGNED_MASK           = 0x40000000L;
    constexpr unsigned int CB_COLOR0_ATTRIB3__META_LINEAR_MASK                = 0x00002000L;
    constexpr unsigned int CB_COLOR0_ATTRIB3__MIP0_DEPTH_MASK                 = 0x00001fffL;
    constexpr unsigned int CB_COLOR0_ATTRIB3__RESOURCE_TYPE_MASK              = 0x03000000L;
    constexpr unsigned int CB_COLOR0_INFO__LINEAR_GENERAL_MASK                = 0x00000080L;
    constexpr unsigned int CB_COLOR0_VIEW__MIP_LEVEL_MASK                     = 0x3c000000L;
    constexpr unsigned int CB_COLOR0_VIEW__SLICE_MAX_MASK                     = 0x03ffe000L;
    constexpr unsigned int CB_COLOR0_VIEW__SLICE_START_MASK                   = 0x00001fffL;
    constexpr unsigned int CB_COLOR1_ATTRIB3__COLOR_SW_MODE_MASK              = 0x0007c000L;
    constexpr unsigned int CB_COLOR1_ATTRIB3__DCC_PIPE_ALIGNED_MASK           = 0x40000000L;
    constexpr unsigned int CB_COLOR1_ATTRIB3__META_LINEAR_MASK                = 0x00002000L;
    constexpr unsigned int CB_COLOR1_ATTRIB3__MIP0_DEPTH_MASK                 = 0x00001fffL;
    constexpr unsigned int CB_COLOR1_ATTRIB3__RESOURCE_TYPE_MASK              = 0x03000000L;
    constexpr unsigned int CB_COLOR1_INFO__LINEAR_GENERAL_MASK                = 0x00000080L;
    constexpr unsigned int CB_COLOR1_VIEW__MIP_LEVEL_MASK                     = 0x3c000000L;
    constexpr unsigned int CB_COLOR1_VIEW__SLICE_MAX_MASK                     = 0x03ffe000L;
    constexpr unsigned int CB_COLOR1_VIEW__SLICE_START_MASK                   = 0x00001fffL;
    constexpr unsigned int CB_COLOR2_ATTRIB3__COLOR_SW_MODE_MASK              = 0x0007c000L;
    constexpr unsigned int CB_COLOR2_ATTRIB3__DCC_PIPE_ALIGNED_MASK           = 0x40000000L;
    constexpr unsigned int CB_COLOR2_ATTRIB3__META_LINEAR_MASK                = 0x00002000L;
    constexpr unsigned int CB_COLOR2_ATTRIB3__MIP0_DEPTH_MASK                 = 0x00001fffL;
    constexpr unsigned int CB_COLOR2_ATTRIB3__RESOURCE_TYPE_MASK              = 0x03000000L;
    constexpr unsigned int CB_COLOR2_INFO__LINEAR_GENERAL_MASK                = 0x00000080L;
    constexpr unsigned int CB_COLOR2_VIEW__MIP_LEVEL_MASK                     = 0x3c000000L;
    constexpr unsigned int CB_COLOR2_VIEW__SLICE_MAX_MASK                     = 0x03ffe000L;
    constexpr unsigned int CB_COLOR2_VIEW__SLICE_START_MASK                   = 0x00001fffL;
    constexpr unsigned int CB_COLOR3_ATTRIB3__COLOR_SW_MODE_MASK              = 0x0007c000L;
    constexpr unsigned int CB_COLOR3_ATTRIB3__DCC_PIPE_ALIGNED_MASK           = 0x40000000L;
    constexpr unsigned int CB_COLOR3_ATTRIB3__META_LINEAR_MASK                = 0x00002000L;
    constexpr unsigned int CB_COLOR3_ATTRIB3__MIP0_DEPTH_MASK                 = 0x00001fffL;
    constexpr unsigned int CB_COLOR3_ATTRIB3__RESOURCE_TYPE_MASK              = 0x03000000L;
    constexpr unsigned int CB_COLOR3_INFO__LINEAR_GENERAL_MASK                = 0x00000080L;
    constexpr unsigned int CB_COLOR3_VIEW__MIP_LEVEL_MASK                     = 0x3c000000L;
    constexpr unsigned int CB_COLOR3_VIEW__SLICE_MAX_MASK                     = 0x03ffe000L;
    constexpr unsigned int CB_COLOR3_VIEW__SLICE_START_MASK                   = 0x00001fffL;
    constexpr unsigned int CB_COLOR4_ATTRIB3__COLOR_SW_MODE_MASK              = 0x0007c000L;
    constexpr unsigned int CB_COLOR4_ATTRIB3__DCC_PIPE_ALIGNED_MASK           = 0x40000000L;
    constexpr unsigned int CB_COLOR4_ATTRIB3__META_LINEAR_MASK                = 0x00002000L;
    constexpr unsigned int CB_COLOR4_ATTRIB3__MIP0_DEPTH_MASK                 = 0x00001fffL;
    constexpr unsigned int CB_COLOR4_ATTRIB3__RESOURCE_TYPE_MASK              = 0x03000000L;
    constexpr unsigned int CB_COLOR4_INFO__LINEAR_GENERAL_MASK                = 0x00000080L;
    constexpr unsigned int CB_COLOR4_VIEW__MIP_LEVEL_MASK                     = 0x3c000000L;
    constexpr unsigned int CB_COLOR4_VIEW__SLICE_MAX_MASK                     = 0x03ffe000L;
    constexpr unsigned int CB_COLOR4_VIEW__SLICE_START_MASK                   = 0x00001fffL;
    constexpr unsigned int CB_COLOR5_ATTRIB3__COLOR_SW_MODE_MASK              = 0x0007c000L;
    constexpr unsigned int CB_COLOR5_ATTRIB3__DCC_PIPE_ALIGNED_MASK           = 0x40000000L;
    constexpr unsigned int CB_COLOR5_ATTRIB3__META_LINEAR_MASK                = 0x00002000L;
    constexpr unsigned int CB_COLOR5_ATTRIB3__MIP0_DEPTH_MASK                 = 0x00001fffL;
    constexpr unsigned int CB_COLOR5_ATTRIB3__RESOURCE_TYPE_MASK              = 0x03000000L;
    constexpr unsigned int CB_COLOR5_INFO__LINEAR_GENERAL_MASK                = 0x00000080L;
    constexpr unsigned int CB_COLOR5_VIEW__MIP_LEVEL_MASK                     = 0x3c000000L;
    constexpr unsigned int CB_COLOR5_VIEW__SLICE_MAX_MASK                     = 0x03ffe000L;
    constexpr unsigned int CB_COLOR5_VIEW__SLICE_START_MASK                   = 0x00001fffL;
    constexpr unsigned int CB_COLOR6_ATTRIB3__COLOR_SW_MODE_MASK              = 0x0007c000L;
    constexpr unsigned int CB_COLOR6_ATTRIB3__DCC_PIPE_ALIGNED_MASK           = 0x40000000L;
    constexpr unsigned int CB_COLOR6_ATTRIB3__META_LINEAR_MASK                = 0x00002000L;
    constexpr unsigned int CB_COLOR6_ATTRIB3__MIP0_DEPTH_MASK                 = 0x00001fffL;
    constexpr unsigned int CB_COLOR6_ATTRIB3__RESOURCE_TYPE_MASK              = 0x03000000L;
    constexpr unsigned int CB_COLOR6_INFO__LINEAR_GENERAL_MASK                = 0x00000080L;
    constexpr unsigned int CB_COLOR6_VIEW__MIP_LEVEL_MASK                     = 0x3c000000L;
    constexpr unsigned int CB_COLOR6_VIEW__SLICE_MAX_MASK                     = 0x03ffe000L;
    constexpr unsigned int CB_COLOR6_VIEW__SLICE_START_MASK                   = 0x00001fffL;
    constexpr unsigned int CB_COLOR7_ATTRIB3__COLOR_SW_MODE_MASK              = 0x0007c000L;
    constexpr unsigned int CB_COLOR7_ATTRIB3__DCC_PIPE_ALIGNED_MASK           = 0x40000000L;
    constexpr unsigned int CB_COLOR7_ATTRIB3__META_LINEAR_MASK                = 0x00002000L;
    constexpr unsigned int CB_COLOR7_ATTRIB3__MIP0_DEPTH_MASK                 = 0x00001fffL;
    constexpr unsigned int CB_COLOR7_ATTRIB3__RESOURCE_TYPE_MASK              = 0x03000000L;
    constexpr unsigned int CB_COLOR7_INFO__LINEAR_GENERAL_MASK                = 0x00000080L;
    constexpr unsigned int CB_COLOR7_VIEW__MIP_LEVEL_MASK                     = 0x3c000000L;
    constexpr unsigned int CB_COLOR7_VIEW__SLICE_MAX_MASK                     = 0x03ffe000L;
    constexpr unsigned int CB_COLOR7_VIEW__SLICE_START_MASK                   = 0x00001fffL;
    constexpr unsigned int CB_COVERAGE_OUT_CONTROL__COVERAGE_OUT_CHANNEL_MASK = 0x00000030L;
    constexpr unsigned int CB_COVERAGE_OUT_CONTROL__COVERAGE_OUT_ENABLE_MASK  = 0x00000001L;
    constexpr unsigned int CB_COVERAGE_OUT_CONTROL__COVERAGE_OUT_MRT_MASK     = 0x0000000eL;
    constexpr unsigned int CB_COVERAGE_OUT_CONTROL__COVERAGE_OUT_SAMPLES_MASK = 0x00000f00L;
    constexpr unsigned int CB_DCC_CONFIG__READ_RETURN_SKID_FIFO_DEPTH_MASK    = 0x01ff0000L;
    constexpr unsigned int CB_HW_CONTROL__ALLOW_MRT_WITH_DUAL_SOURCE_MASK     = 0x00000001L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__COLOR_BIG_PAGE_MASK      = 0x80000000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__COLOR_RD_POLICY_MASK     = 0x00c00000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__DCC_RD_POLICY_MASK       = 0x00300000L;
    constexpr unsigned int CHA_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int CHA_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CHA_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CHA_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int CHA_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int CHA_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int CHA_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int CHA_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CHA_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int CHA_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int CHA_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int CHA_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int CHA_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CHA_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int CHA_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int CHA_PERFCOUNTER3_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int CHA_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int CHA_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CHC_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int CHC_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0x0f000000L;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0xf0000000L;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CHC_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CHC_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int CHC_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int CHC_PERFCOUNTER1_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int CHC_PERFCOUNTER1_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int CHC_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CHC_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int CHC_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int CHC_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int CHC_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int CHC_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CHC_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int CHC_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int CHC_PERFCOUNTER3_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int CHC_PERFCOUNTER3_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int CHC_PERFCOUNTER3_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int COMPUTE_DDID_INDEX__INDEX_MASK                     = 0x000007ffL;
    constexpr unsigned int COMPUTE_DESTINATION_EN_SE0__CU_EN_MASK             = 0xffffffffL;
    constexpr unsigned int COMPUTE_DESTINATION_EN_SE1__CU_EN_MASK             = 0xffffffffL;
    constexpr unsigned int COMPUTE_DESTINATION_EN_SE2__CU_EN_MASK             = 0xffffffffL;
    constexpr unsigned int COMPUTE_DESTINATION_EN_SE3__CU_EN_MASK             = 0xffffffffL;
    constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__CS_W32_EN_MASK         = 0x00008000L;
    constexpr unsigned int COMPUTE_DISPATCH_INITIATOR__TUNNEL_ENABLE_MASK     = 0x00002000L;
    constexpr unsigned int COMPUTE_DISPATCH_TUNNEL__IMMEDIATE_MASK            = 0x00000400L;
    constexpr unsigned int COMPUTE_DISPATCH_TUNNEL__OFF_DELAY_MASK            = 0x000003ffL;
    constexpr unsigned int COMPUTE_PGM_RSRC1__FWD_PROGRESS_MASK               = 0x80000000L;
    constexpr unsigned int COMPUTE_PGM_RSRC1__MEM_ORDERED_MASK                = 0x40000000L;
    constexpr unsigned int COMPUTE_PGM_RSRC1__WGP_MODE_MASK                   = 0x20000000L;
    constexpr unsigned int COMPUTE_PGM_RSRC3__SHARED_VGPR_CNT_MASK            = 0x0000000fL;
    constexpr unsigned int COMPUTE_RELAUNCH2__IS_EVENT_MASK                   = 0x40000000L;
    constexpr unsigned int COMPUTE_RELAUNCH2__IS_STATE_MASK                   = 0x80000000L;
    constexpr unsigned int COMPUTE_RELAUNCH2__PAYLOAD_MASK                    = 0x3fffffffL;
    constexpr unsigned int COMPUTE_REQ_CTRL__ALLOCATION_RATE_THROTTLING_THRESHOLD_MASK = 0x000e0000L;
    constexpr unsigned int COMPUTE_REQ_CTRL__DEDICATED_PREALLOCATION_BUFFER_LIMIT_MASK = 0x07f00000L;
    constexpr unsigned int COMPUTE_REQ_CTRL__GLOBAL_SCANNING_EN_MASK          = 0x00010000L;
    constexpr unsigned int COMPUTE_REQ_CTRL__HARD_LOCK_HYSTERESIS_MASK        = 0x00000200L;
    constexpr unsigned int COMPUTE_REQ_CTRL__HARD_LOCK_LOW_THRESHOLD_MASK     = 0x00007c00L;
    constexpr unsigned int COMPUTE_REQ_CTRL__NUMBER_OF_REQUESTS_PER_CU_MASK   = 0x0000001eL;
    constexpr unsigned int COMPUTE_REQ_CTRL__PRODUCER_REQUEST_LOCKOUT_MASK    = 0x00008000L;
    constexpr unsigned int COMPUTE_REQ_CTRL__SOFT_GROUPING_ALLOCATION_TIMEOUT_MASK = 0x000001e0L;
    constexpr unsigned int COMPUTE_REQ_CTRL__SOFT_GROUPING_EN_MASK            = 0x00000001L;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE0__SA0_CU_EN_MASK     = 0x0000ffffL;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE0__SA1_CU_EN_MASK     = 0xffff0000L;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE1__SA0_CU_EN_MASK     = 0x0000ffffL;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE1__SA1_CU_EN_MASK     = 0xffff0000L;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE2__SA0_CU_EN_MASK     = 0x0000ffffL;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE2__SA1_CU_EN_MASK     = 0xffff0000L;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE3__SA0_CU_EN_MASK     = 0x0000ffffL;
    constexpr unsigned int COMPUTE_STATIC_THREAD_MGMT_SE3__SA1_CU_EN_MASK     = 0xffff0000L;
    constexpr unsigned int COMPUTE_USER_ACCUM_0__CONTRIBUTION_MASK            = 0x0000007fL;
    constexpr unsigned int COMPUTE_USER_ACCUM_1__CONTRIBUTION_MASK            = 0x0000007fL;
    constexpr unsigned int COMPUTE_USER_ACCUM_2__CONTRIBUTION_MASK            = 0x0000007fL;
    constexpr unsigned int COMPUTE_USER_ACCUM_3__CONTRIBUTION_MASK            = 0x0000007fL;
    constexpr unsigned int CPC_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int CPC_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int CPC_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPC_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CPC_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CPF_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int CPF_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int CPF_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPF_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CPF_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CPG_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int CPG_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int CPG_PERFCOUNTER0_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int CPG_PERFCOUNTER0_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int CPG_PERFCOUNTER1_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int DB_COUNT_CONTROL__DISABLE_CONSERVATIVE_ZPASS_COUNTS_MASK = 0x00000004L;
    constexpr unsigned int DB_COUNT_CONTROL__ENHANCED_CONSERVATIVE_ZPASS_COUNTS_MASK = 0x00000008L;
    constexpr unsigned int DB_DEPTH_SIZE_XY__X_MAX_MASK                       = 0x00003fffL;
    constexpr unsigned int DB_DEPTH_SIZE_XY__Y_MAX_MASK                       = 0x3fff0000L;
    constexpr unsigned int DB_DEPTH_VIEW__SLICE_MAX_HI_MASK                   = 0xc0000000L;
    constexpr unsigned int DB_DEPTH_VIEW__SLICE_START_HI_MASK                 = 0x00001800L;
    constexpr unsigned int DB_EQUAD_STUTTER_CONTROL__THRESHOLD_MASK           = 0x000000ffL;
    constexpr unsigned int DB_EQUAD_STUTTER_CONTROL__TIMEOUT_MASK             = 0x00ff0000L;
    constexpr unsigned int DB_ETILE_STUTTER_CONTROL__THRESHOLD_MASK           = 0x000000ffL;
    constexpr unsigned int DB_ETILE_STUTTER_CONTROL__TIMEOUT_MASK             = 0x00ff0000L;
    constexpr unsigned int DB_EXCEPTION_CONTROL__AUTO_FLUSH_HTILE_MASK        = 0x00000008L;
    constexpr unsigned int DB_EXCEPTION_CONTROL__AUTO_FLUSH_QUAD_MASK         = 0x00000010L;
    constexpr unsigned int DB_EXCEPTION_CONTROL__DTAG_WATERMARK_MASK          = 0x7f000000L;
    constexpr unsigned int DB_EXCEPTION_CONTROL__FORCE_SUMMARIZE_MASK         = 0x00000f00L;
    constexpr unsigned int DB_FGCG_INTERFACES_CLK_CTRL__DB_CB_RMIRET_OVERRIDE_MASK = 0x00000040L;
    constexpr unsigned int DB_FGCG_INTERFACES_CLK_CTRL__DB_RMI_RDREQ_OVERRIDE_MASK = 0x00000008L;
    constexpr unsigned int DB_FGCG_INTERFACES_CLK_CTRL__DB_RMI_WRREQ_OVERRIDE_MASK = 0x00000010L;
    constexpr unsigned int DB_FGCG_INTERFACES_CLK_CTRL__DB_SC_QUAD_OVERRIDE_MASK = 0x00000001L;
    constexpr unsigned int DB_FGCG_INTERFACES_CLK_CTRL__DB_SC_TILE_OVERRIDE_MASK = 0x00000020L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE0_MASK             = 0x00000001L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE1_MASK             = 0x00000002L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE2_MASK             = 0x00000004L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE3_MASK             = 0x00000008L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE4_MASK             = 0x00000010L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE5_MASK             = 0x00000020L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE6_MASK             = 0x00000040L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE7_MASK             = 0x00000080L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE8_MASK             = 0x00000100L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE9_MASK             = 0x00000200L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE10_MASK            = 0x00000400L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE11_MASK            = 0x00000800L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE12_MASK            = 0x00001000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE13_MASK            = 0x00002000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE14_MASK            = 0x00004000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE15_MASK            = 0x00008000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE16_MASK            = 0x00010000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE17_MASK            = 0x00020000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE18_MASK            = 0x00040000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE19_MASK            = 0x00080000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE20_MASK            = 0x00100000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE21_MASK            = 0x00200000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE22_MASK            = 0x00400000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE23_MASK            = 0x00800000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE24_MASK            = 0x01000000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE25_MASK            = 0x02000000L;
    constexpr unsigned int DB_FGCG_SRAMS_CLK_CTRL__OVERRIDE26_MASK            = 0x04000000L;
    constexpr unsigned int DB_FIFO_DEPTH1__MCC_DEPTH_MASK                     = 0x00ff0000L;
    constexpr unsigned int DB_FIFO_DEPTH1__MI_RDREQ_FIFO_DEPTH_MASK           = 0x000000ffL;
    constexpr unsigned int DB_FIFO_DEPTH1__MI_WRREQ_FIFO_DEPTH_MASK           = 0x0000ff00L;
    constexpr unsigned int DB_FIFO_DEPTH1__QC_DEPTH_MASK                      = 0xff000000L;
    constexpr unsigned int DB_FIFO_DEPTH2__ETILE_OP_FIFO_DEPTH_MASK           = 0x0000ff00L;
    constexpr unsigned int DB_FIFO_DEPTH2__LQUAD_FIFO_DEPTH_MASK              = 0x01ff0000L;
    constexpr unsigned int DB_FIFO_DEPTH3__LTILE_PROBE_FIFO_DEPTH_MASK        = 0x000000ffL;
    constexpr unsigned int DB_FIFO_DEPTH3__QUAD_READ_REQS_MASK                = 0xff000000L;
    constexpr unsigned int DB_FREE_CACHELINES__FREE_DTILE_DEPTH_MASK          = 0x000000ffL;
    constexpr unsigned int DB_FREE_CACHELINES__FREE_HTILE_DEPTH_MASK          = 0xff000000L;
    constexpr unsigned int DB_FREE_CACHELINES__FREE_PLANE_DEPTH_MASK          = 0x0000ff00L;
    constexpr unsigned int DB_FREE_CACHELINES__FREE_Z_DEPTH_MASK              = 0x00ff0000L;
    constexpr unsigned int DB_HTILE_SURFACE__RESERVED_FIELD_1_MASK            = 0x00000001L;
    constexpr unsigned int DB_HTILE_SURFACE__RESERVED_FIELD_2_MASK            = 0x00000004L;
    constexpr unsigned int DB_HTILE_SURFACE__RESERVED_FIELD_3_MASK            = 0x00000008L;
    constexpr unsigned int DB_HTILE_SURFACE__RESERVED_FIELD_4_MASK            = 0x000003f0L;
    constexpr unsigned int DB_HTILE_SURFACE__RESERVED_FIELD_5_MASK            = 0x0000fc00L;
    constexpr unsigned int DB_HTILE_SURFACE__RESERVED_FIELD_6_MASK            = 0x00020000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DISABLE_RD_BURST_MASK     = 0x40000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__LEGACY_LOB_INSERT_EN_MASK = 0x80000000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__MAXBURST_MASK             = 0x000000ffL;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__TIMEOUT_MASK              = 0x00000700L;
    constexpr unsigned int DB_LQUAD_STUTTER_CONTROL__THRESHOLD_MASK           = 0x000000ffL;
    constexpr unsigned int DB_LQUAD_STUTTER_CONTROL__TIMEOUT_MASK             = 0x00ff0000L;
    constexpr unsigned int DB_LTILE_STUTTER_CONTROL__THRESHOLD_MASK           = 0x000000ffL;
    constexpr unsigned int DB_LTILE_STUTTER_CONTROL__TIMEOUT_MASK             = 0x00ff0000L;
    constexpr unsigned int DB_RESERVED_REG_1__FIELD_1_MASK                    = 0x000007ffL;
    constexpr unsigned int DB_RESERVED_REG_1__FIELD_2_MASK                    = 0x003ff800L;
    constexpr unsigned int DB_RESERVED_REG_2__FIELD_1_MASK                    = 0x0000000fL;
    constexpr unsigned int DB_RESERVED_REG_2__FIELD_2_MASK                    = 0x000000f0L;
    constexpr unsigned int DB_RESERVED_REG_2__FIELD_3_MASK                    = 0x00001f00L;
    constexpr unsigned int DB_RESERVED_REG_2__FIELD_4_MASK                    = 0x00006000L;
    constexpr unsigned int DB_RESERVED_REG_2__FIELD_5_MASK                    = 0x00018000L;
    constexpr unsigned int DB_RESERVED_REG_2__FIELD_6_MASK                    = 0x00060000L;
    constexpr unsigned int DB_RESERVED_REG_2__FIELD_7_MASK                    = 0x00180000L;
    constexpr unsigned int DB_RESERVED_REG_2__FIELD_8_MASK                    = 0xf0000000L;
    constexpr unsigned int DB_RESERVED_REG_3__FIELD_1_MASK                    = 0x003fffffL;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__HTILE_RD_POLICY_MASK      = 0x00300000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__HTILE_WR_POLICY_MASK      = 0x00000030L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__S_BIG_PAGE_MASK           = 0x02000000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__S_RD_POLICY_MASK          = 0x000c0000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__S_WR_POLICY_MASK          = 0x0000000cL;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__ZPCPSD_WR_POLICY_MASK     = 0x000000c0L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__Z_BIG_PAGE_MASK           = 0x01000000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__Z_RD_POLICY_MASK          = 0x00030000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__Z_WR_POLICY_MASK          = 0x00000003L;
    constexpr unsigned int DB_SHADER_CONTROL__PRE_SHADER_DEPTH_COVERAGE_ENABLE_MASK = 0x00800000L;
    constexpr unsigned int DB_STENCIL_INFO__FAULT_BEHAVIOR_MASK               = 0x00000600L;
    constexpr unsigned int DB_STENCIL_INFO__ITERATE_256_MASK                  = 0x00100000L;
    constexpr unsigned int DB_STENCIL_INFO__ITERATE_FLUSH_MASK                = 0x00000800L;
    constexpr unsigned int DB_STENCIL_INFO__RESERVED_FIELD_1_MASK             = 0x0000e000L;
    constexpr unsigned int DB_WATERMARKS__DEPTH_CACHELINE_FREE_MASK           = 0xff000000L;
    constexpr unsigned int DB_WATERMARKS__DEPTH_FLUSH_MASK                    = 0x0000ff00L;
    constexpr unsigned int DB_WATERMARKS__DEPTH_FREE_MASK                     = 0x000000ffL;
    constexpr unsigned int DB_WATERMARKS__DEPTH_PENDING_FREE_MASK             = 0x00ff0000L;
    constexpr unsigned int DB_Z_INFO__FAULT_BEHAVIOR_MASK                     = 0x00000600L;
    constexpr unsigned int DB_Z_INFO__ITERATE_256_MASK                        = 0x00100000L;
    constexpr unsigned int DB_Z_INFO__ITERATE_FLUSH_MASK                      = 0x00000800L;
    constexpr unsigned int DB_Z_INFO__RESERVED_FIELD_1_MASK                   = 0x0000e000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER0_CFG__CLEAR_MASK            = 0x20000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER0_CFG__ENABLE_MASK           = 0x10000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER0_CFG__PERF_MODE_MASK        = 0x0f000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER0_CFG__PERF_SEL_END_MASK     = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER0_CFG__PERF_SEL_MASK         = 0x000000ffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER1_CFG__CLEAR_MASK            = 0x20000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER1_CFG__ENABLE_MASK           = 0x10000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER1_CFG__PERF_MODE_MASK        = 0x0f000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER1_CFG__PERF_SEL_END_MASK     = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER1_CFG__PERF_SEL_MASK         = 0x000000ffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER2_CFG__CLEAR_MASK            = 0x20000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER2_CFG__ENABLE_MASK           = 0x10000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER2_CFG__PERF_MODE_MASK        = 0x0f000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER2_CFG__PERF_SEL_END_MASK     = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER2_CFG__PERF_SEL_MASK         = 0x000000ffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER3_CFG__CLEAR_MASK            = 0x20000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER3_CFG__ENABLE_MASK           = 0x10000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER3_CFG__PERF_MODE_MASK        = 0x0f000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER3_CFG__PERF_SEL_END_MASK     = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER3_CFG__PERF_SEL_MASK         = 0x000000ffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER4_CFG__CLEAR_MASK            = 0x20000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER4_CFG__ENABLE_MASK           = 0x10000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER4_CFG__PERF_MODE_MASK        = 0x0f000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER4_CFG__PERF_SEL_END_MASK     = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER4_CFG__PERF_SEL_MASK         = 0x000000ffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER5_CFG__CLEAR_MASK            = 0x20000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER5_CFG__ENABLE_MASK           = 0x10000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER5_CFG__PERF_MODE_MASK        = 0x0f000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER5_CFG__PERF_SEL_END_MASK     = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER5_CFG__PERF_SEL_MASK         = 0x000000ffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER6_CFG__CLEAR_MASK            = 0x20000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER6_CFG__ENABLE_MASK           = 0x10000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER6_CFG__PERF_MODE_MASK        = 0x0f000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER6_CFG__PERF_SEL_END_MASK     = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER6_CFG__PERF_SEL_MASK         = 0x000000ffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER7_CFG__CLEAR_MASK            = 0x20000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER7_CFG__ENABLE_MASK           = 0x10000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER7_CFG__PERF_MODE_MASK        = 0x0f000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER7_CFG__PERF_SEL_END_MASK     = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER7_CFG__PERF_SEL_MASK         = 0x000000ffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_HI__COMPARE_VALUE_MASK      = 0xffff0000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_HI__COUNTER_HI_MASK         = 0x0000ffffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_LO__COUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK   = 0x02000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK  = 0x01000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK = 0x0000ff00L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int GCMC_VM_L2_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK = 0x00ff0000L;
    constexpr unsigned int GCR_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GCR_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GCR_PERFCOUNTER0_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GCR_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GCR_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_HI__PERFCOUNTER_HI_MASK      = 0xffffffffL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_LO__PERFCOUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_MODE__COMPARE_MODE0_MASK     = 0x00000003L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_MODE__COMPARE_MODE1_MASK     = 0x0000000cL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_MODE__COMPARE_MODE2_MASK     = 0x00000030L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_MODE__COMPARE_MODE3_MASK     = 0x000000c0L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_MODE__COMPARE_VALUE0_MASK    = 0x00000f00L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_MODE__COMPARE_VALUE1_MASK    = 0x0000f000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_MODE__COMPARE_VALUE2_MASK    = 0x000f0000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_MODE__COMPARE_VALUE3_MASK    = 0x00f00000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT1__PERF_MODE2_MASK     = 0xf0000000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT1__PERF_MODE3_MASK     = 0x0f000000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT1__PERF_SEL2_MASK      = 0x000003ffL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT1__PERF_SEL3_MASK      = 0x000ffc00L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT__CNTR_MODE_MASK       = 0x00f00000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT__PERF_MODE1_MASK      = 0x0f000000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT__PERF_MODE_MASK       = 0xf0000000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT__PERF_SEL1_MASK       = 0x000ffc00L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_0_SELECT__PERF_SEL_MASK        = 0x000003ffL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_HI__PERFCOUNTER_HI_MASK      = 0xffffffffL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_LO__PERFCOUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_MODE__COMPARE_MODE0_MASK     = 0x00000003L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_MODE__COMPARE_MODE1_MASK     = 0x0000000cL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_MODE__COMPARE_MODE2_MASK     = 0x00000030L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_MODE__COMPARE_MODE3_MASK     = 0x000000c0L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_MODE__COMPARE_VALUE0_MASK    = 0x00000f00L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_MODE__COMPARE_VALUE1_MASK    = 0x0000f000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_MODE__COMPARE_VALUE2_MASK    = 0x000f0000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_MODE__COMPARE_VALUE3_MASK    = 0x00f00000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT1__PERF_MODE2_MASK     = 0xf0000000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT1__PERF_MODE3_MASK     = 0x0f000000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT1__PERF_SEL2_MASK      = 0x000003ffL;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT1__PERF_SEL3_MASK      = 0x000ffc00L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT__CNTR_MODE_MASK       = 0x00f00000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT__PERF_MODE1_MASK      = 0x0f000000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT__PERF_MODE_MASK       = 0xf0000000L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT__PERF_SEL1_MASK       = 0x000ffc00L;
    constexpr unsigned int GCVML2_PERFCOUNTER2_1_SELECT__PERF_SEL_MASK        = 0x000003ffL;
    constexpr unsigned int GE_CNTL__PACKET_TO_ONE_PA_MASK                     = 0x00080000L;
    constexpr unsigned int GE_INDX_OFFSET__INDX_OFFSET_MASK                   = 0xffffffffL;
    constexpr unsigned int GE_MAX_OUTPUT_PER_SUBGROUP__MAX_VERTS_PER_SUBGROUP_MASK = 0x000003ffL;
    constexpr unsigned int GE_MAX_VTX_INDX__MAX_INDX_MASK                     = 0xffffffffL;
    constexpr unsigned int GE_MIN_VTX_INDX__MIN_INDX_MASK                     = 0xffffffffL;
    constexpr unsigned int GE_MULTI_PRIM_IB_RESET_EN__MATCH_ALL_BITS_MASK     = 0x00000002L;
    constexpr unsigned int GE_MULTI_PRIM_IB_RESET_EN__RESET_EN_MASK           = 0x00000001L;
    constexpr unsigned int GE_NGG_SUBGRP_CNTL__PRIM_AMP_FACTOR_MASK           = 0x000001ffL;
    constexpr unsigned int GE_NGG_SUBGRP_CNTL__THDS_PER_SUBGRP_MASK           = 0x0003fe00L;
    constexpr unsigned int GE_PC_ALLOC__NUM_PC_LINES_MASK                     = 0x000007feL;
    constexpr unsigned int GE_PC_ALLOC__OVERSUB_EN_MASK                       = 0x00000001L;
    constexpr unsigned int GE_PRIV_CONTROL__CLAMP_PRIMGRP_SIZE_MASK           = 0x000003feL;
    constexpr unsigned int GE_PRIV_CONTROL__RESET_ON_PIPELINE_CHANGE_MASK     = 0x00000400L;
    constexpr unsigned int GE_STATUS__PERFCOUNTER_STATUS_MASK                 = 0x00000001L;
    constexpr unsigned int GE_STATUS__THREAD_TRACE_STATUS_MASK                = 0x00000002L;
    constexpr unsigned int GE_STEREO_CNTL__EN_STEREO_MASK                     = 0x00000100L;
    constexpr unsigned int GE_STEREO_CNTL__RT_SLICE_MASK                      = 0x00000007L;
    constexpr unsigned int GE_STEREO_CNTL__VIEWPORT_MASK                      = 0x00000078L;
    constexpr unsigned int GE_USER_VGPR1__DATA_MASK                           = 0xffffffffL;
    constexpr unsigned int GE_USER_VGPR2__DATA_MASK                           = 0xffffffffL;
    constexpr unsigned int GE_USER_VGPR3__DATA_MASK                           = 0xffffffffL;
    constexpr unsigned int GE_USER_VGPR_EN__EN_USER_VGPR1_MASK                = 0x00000001L;
    constexpr unsigned int GE_USER_VGPR_EN__EN_USER_VGPR2_MASK                = 0x00000002L;
    constexpr unsigned int GE_USER_VGPR_EN__EN_USER_VGPR3_MASK                = 0x00000004L;
    constexpr unsigned int GL1A_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL1A_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int GL1A_PERFCOUNTER0_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL1A_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL1A_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL1A_PERFCOUNTER1_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL1A_PERFCOUNTER1_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL1A_PERFCOUNTER1_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL1A_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL1A_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL1A_PERFCOUNTER2_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL1A_PERFCOUNTER2_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL1A_PERFCOUNTER2_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL1A_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL1A_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL1A_PERFCOUNTER3_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL1A_PERFCOUNTER3_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL1A_PERFCOUNTER3_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL1C_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL1C_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int GL1C_PERFCOUNTER0_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL1C_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL1C_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL1C_PERFCOUNTER1_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL1C_PERFCOUNTER1_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL1C_PERFCOUNTER1_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL1C_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL1C_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL1C_PERFCOUNTER2_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL1C_PERFCOUNTER2_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL1C_PERFCOUNTER2_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL1C_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL1C_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL1C_PERFCOUNTER3_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL1C_PERFCOUNTER3_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL1C_PERFCOUNTER3_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL2A_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL2A_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int GL2A_PERFCOUNTER0_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL2A_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL2A_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int GL2A_PERFCOUNTER1_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL2A_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL2A_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL2A_PERFCOUNTER2_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL2A_PERFCOUNTER2_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL2A_PERFCOUNTER2_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL2A_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL2A_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL2A_PERFCOUNTER3_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL2A_PERFCOUNTER3_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL2A_PERFCOUNTER3_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL2C_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL2C_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int GL2C_PERFCOUNTER0_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL2C_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL2C_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int GL2C_PERFCOUNTER1_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL2C_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL2C_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL2C_PERFCOUNTER2_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL2C_PERFCOUNTER2_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL2C_PERFCOUNTER2_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GL2C_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int GL2C_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int GL2C_PERFCOUNTER3_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int GL2C_PERFCOUNTER3_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int GL2C_PERFCOUNTER3_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int GRBM_GFX_INDEX_SR_DATA__SA_BROADCAST_WRITES_MASK   = 0x20000000L;
    constexpr unsigned int GRBM_GFX_INDEX_SR_DATA__SA_INDEX_MASK              = 0x0000ff00L;
    constexpr unsigned int GRBM_GFX_INDEX__SA_BROADCAST_WRITES_MASK           = 0x20000000L;
    constexpr unsigned int GRBM_GFX_INDEX__SA_INDEX_MASK                      = 0x0000ff00L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT_HI__CH_BUSY_USER_DEFINED_MASK_MASK = 0x00000010L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT_HI__GL1CC_BUSY_USER_DEFINED_MASK_MASK = 0x00000100L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT_HI__GL2CC_BUSY_USER_DEFINED_MASK_MASK = 0x00000004L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT_HI__PH_BUSY_USER_DEFINED_MASK_MASK = 0x00000020L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT_HI__SDMA_BUSY_USER_DEFINED_MASK_MASK = 0x00000008L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT_HI__UTCL1_BUSY_USER_DEFINED_MASK_MASK = 0x00000002L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__GE_BUSY_USER_DEFINED_MASK_MASK = 0x10000000L;
    constexpr unsigned int GRBM_PERFCOUNTER0_SELECT__TCP_BUSY_USER_DEFINED_MASK_MASK = 0x08000000L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT_HI__CH_BUSY_USER_DEFINED_MASK_MASK = 0x00000010L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT_HI__GL1CC_BUSY_USER_DEFINED_MASK_MASK = 0x00000100L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT_HI__GL2CC_BUSY_USER_DEFINED_MASK_MASK = 0x00000004L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT_HI__PH_BUSY_USER_DEFINED_MASK_MASK = 0x00000020L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT_HI__SDMA_BUSY_USER_DEFINED_MASK_MASK = 0x00000008L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT_HI__UTCL1_BUSY_USER_DEFINED_MASK_MASK = 0x00000002L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__GE_BUSY_USER_DEFINED_MASK_MASK = 0x10000000L;
    constexpr unsigned int GRBM_PERFCOUNTER1_SELECT__TCP_BUSY_USER_DEFINED_MASK_MASK = 0x08000000L;
    constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__GL1CC_BUSY_USER_DEFINED_MASK_MASK = 0x02000000L;
    constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__TCP_BUSY_USER_DEFINED_MASK_MASK = 0x01000000L;
    constexpr unsigned int GRBM_SE0_PERFCOUNTER_SELECT__UTCL1_BUSY_USER_DEFINED_MASK_MASK = 0x00800000L;
    constexpr unsigned int IA_UTCL1_CNTL__MTYPE_OVERRIDE_MASK                 = 0x20000000L;
    constexpr unsigned int PA_CL_CNTL_STATUS__CL_BUSY_MASK                    = 0x80000000L;
    constexpr unsigned int PA_CL_VS_OUT_CNTL__USE_VTX_LINE_WIDTH_MASK         = 0x08000000L;
    constexpr unsigned int PA_PH_ENHANCE__DISABLE_FOPKT_MASK                  = 0x00000020L;
    constexpr unsigned int PA_PH_ENHANCE__DISABLE_FOPKT_SCAN_POST_RESET_MASK  = 0x00000040L;
    constexpr unsigned int PA_PH_ENHANCE__DISABLE_PH_PERF_REG_FGCG_MASK       = 0x00000200L;
    constexpr unsigned int PA_PH_ENHANCE__DISABLE_PH_SC_INTF_CLKEN_CLOCK_GATE_MASK = 0x00000080L;
    constexpr unsigned int PA_PH_ENHANCE__DISABLE_PH_SC_INTF_FINE_CLOCK_GATE_MASK = 0x00000010L;
    constexpr unsigned int PA_PH_ENHANCE__ECO_SPARE0_MASK                     = 0x00000001L;
    constexpr unsigned int PA_PH_ENHANCE__ECO_SPARE1_MASK                     = 0x00000002L;
    constexpr unsigned int PA_PH_ENHANCE__ECO_SPARE2_MASK                     = 0x00000004L;
    constexpr unsigned int PA_PH_ENHANCE__ECO_SPARE3_MASK                     = 0x00000008L;
    constexpr unsigned int PA_PH_ENHANCE__ENABLE_PH_INTF_CLKEN_STRETCH_MASK   = 0x00001c00L;
    constexpr unsigned int PA_PH_INTERFACE_FIFO_SIZE__PA_PH_IF_FIFO_SIZE_MASK = 0x000003ffL;
    constexpr unsigned int PA_PH_INTERFACE_FIFO_SIZE__PH_SC_IF_FIFO_SIZE_MASK = 0x003f0000L;
    constexpr unsigned int PA_PH_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int PA_PH_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int PA_PH_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int PA_PH_PERFCOUNTER2_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int PA_PH_PERFCOUNTER3_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER4_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER4_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER4_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER5_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER5_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER5_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER6_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER6_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER6_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int PA_PH_PERFCOUNTER7_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER7_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int PA_PH_PERFCOUNTER7_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int PA_SC_BINNER_CNTL_0__BIN_MAPPING_MODE_MASK         = 0x60000000L;
    constexpr unsigned int PA_SC_BINNER_CNTL_OVERRIDE__BINNING_MODE_MASK      = 0x00000003L;
    constexpr unsigned int PA_SC_BINNER_CNTL_OVERRIDE__CONTEXT_STATES_PER_BIN_MASK = 0x00001c00L;
    constexpr unsigned int PA_SC_BINNER_CNTL_OVERRIDE__DIRECT_OVERRIDE_MODE_MASK = 0x08000000L;
    constexpr unsigned int PA_SC_BINNER_CNTL_OVERRIDE__FPOVS_PER_BATCH_MASK   = 0x07f80000L;
    constexpr unsigned int PA_SC_BINNER_CNTL_OVERRIDE__OVERRIDE_MASK          = 0xf0000000L;
    constexpr unsigned int PA_SC_BINNER_CNTL_OVERRIDE__PERSISTENT_STATES_PER_BIN_MASK = 0x0003e000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_1__BIN_CONF_OVERRIDE_CHECK_MASK = 0x0c000000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__RESERVED_35_MASK        = 0x000000c0L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_2__RESERVED_41_MASK        = 0x000c0000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__DRAW_DONE_MASK          = 0xc0000000L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__RESERVED_50_MASK        = 0x00000030L;
    constexpr unsigned int PA_SC_BINNER_EVENT_CNTL_3__THREAD_TRACE_DRAW_MASK  = 0x00003000L;
    constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__UNCERTAINTY_REGION_MULT_MASK = 0x06000000L;
    constexpr unsigned int PA_SC_CONSERVATIVE_RASTERIZATION_CNTL__UNCERTAINTY_REGION_PBB_MULT_MASK = 0x18000000L;
    constexpr unsigned int PA_SC_ENHANCE_2__BREAK_WHEN_ONE_NULL_PRIM_BATCH_MASK = 0x04000000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_BREAK_BATCH_ON_GFX_PIPELINE_RESET_MASK = 0x00040000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_BREAK_BATCH_ON_GFX_PIPE_SWITCH_MASK = 0x00000100L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_EXPOSED_GT_DETAIL_RATE_TILE_COV_ADJ_MASK = 0x00008000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_FULL_TILE_WAVE_BREAK_MASK = 0x00000200L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_PACKER_GRAD_FDCE_ENHANCE_MASK = 0x00001000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_SC_BCI_INTF_EARLY_WAKEUP_MASK = 0x00004000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_SC_DBR_DATAPATH_FGCG_MASK = 0x00200000L;
    constexpr unsigned int PA_SC_ENHANCE_2__DISABLE_SC_SPI_INTF_EARLY_WAKEUP_MASK = 0x00002000L;
    constexpr unsigned int PA_SC_ENHANCE_2__ENABLE_FPOV_WAVE_BREAK_MASK       = 0x00000020L;
    constexpr unsigned int PA_SC_ENHANCE_2__ENABLE_LPOV_WAVE_BREAK_MASK       = 0x00000010L;
    constexpr unsigned int PA_SC_ENHANCE_2__ENABLE_SC_SEND_DB_VPZ_FOR_EN_PRIM_PAYLOAD_MASK = 0x00000080L;
    constexpr unsigned int PA_SC_ENHANCE_2__ENABLE_VPZ_INJECTION_BEFORE_NULL_PRIMS_MASK = 0x00000400L;
    constexpr unsigned int PA_SC_ENHANCE_2__NULL_PRIM_BREAK_BATCH_LIMIT_MASK  = 0x38000000L;
    constexpr unsigned int PA_SC_ENHANCE_2__PBB_MAIN_CLK_REG_BUSY_WAKEUP_MASK = 0x00020000L;
    constexpr unsigned int PA_SC_ENHANCE_2__PBB_TIMEOUT_THRESHOLD_MODE_MASK   = 0x00000800L;
    constexpr unsigned int PA_SC_ENHANCE_2__PBB_WARP_CLK_MAIN_CLK_WAKEUP_MASK = 0x00010000L;
    constexpr unsigned int PA_SC_ENHANCE_2__PROCESS_RESET_FORCE_STILE_MASK_TO_ZERO_MASK = 0x00800000L;
    constexpr unsigned int PA_SC_NGG_MODE_CNTL__MAX_FPOVS_IN_WAVE_MASK        = 0x00ff0000L;
    constexpr unsigned int PA_SC_PBB_OVERRIDE_FLAG__OVERRIDE_MASK             = 0x00000001L;
    constexpr unsigned int PA_SC_PBB_OVERRIDE_FLAG__PIPE_ID_MASK              = 0x00000002L;
    constexpr unsigned int PA_SC_RASTER_CONFIG_1__SE_PAIR_XSEL_MASK           = 0x0000000cL;
    constexpr unsigned int PA_SC_RASTER_CONFIG_1__SE_PAIR_YSEL_MASK           = 0x00000030L;
    constexpr unsigned int PA_SC_RASTER_CONFIG__SE_XSEL_MASK                  = 0x0c000000L;
    constexpr unsigned int PA_SC_RASTER_CONFIG__SE_YSEL_MASK                  = 0x30000000L;
    constexpr unsigned int PA_SC_SHADER_CONTROL__WAVE_BREAK_REGION_SIZE_MASK  = 0x00000060L;
    constexpr unsigned int PA_SC_TILE_STEERING_CREST_OVERRIDE__FORCE_TILE_STEERING_OVERRIDE_USE_MASK = 0x80000000L;
    constexpr unsigned int PA_SC_TILE_STEERING_CREST_OVERRIDE__SA_SELECT_MASK = 0x00000700L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_RB_PER_SC_MASK   = 0x00030000L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_SC_MASK          = 0x00003000L;
    constexpr unsigned int PA_STATE_STEREO_X__STEREO_X_OFFSET_MASK            = 0xffffffffL;
    constexpr unsigned int PA_STEREO_CNTL__RT_SLICE_MODE_MASK                 = 0x000000e0L;
    constexpr unsigned int PA_STEREO_CNTL__RT_SLICE_OFFSET_MASK               = 0x00000f00L;
    constexpr unsigned int PA_STEREO_CNTL__STEREO_MODE_MASK                   = 0x0000001eL;
    constexpr unsigned int PA_STEREO_CNTL__VP_ID_MODE_MASK                    = 0x00070000L;
    constexpr unsigned int PA_STEREO_CNTL__VP_ID_OFFSET_MASK                  = 0x00780000L;
    constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER2_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int PA_SU_PERFCOUNTER3_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int PA_SU_SC_MODE_CNTL__KEEP_TOGETHER_ENABLE_MASK      = 0x01000000L;
    constexpr unsigned int RLC_SPM_INT_INFO_1__INTERRUPT_INFO_1_MASK          = 0xffffffffL;
    constexpr unsigned int RLC_SPM_INT_INFO_2__INTERRUPT_ID_MASK              = 0x00ff0000L;
    constexpr unsigned int RLC_SPM_INT_INFO_2__INTERRUPT_INFO_2_MASK          = 0x0000ffffL;
    constexpr unsigned int RLC_SPM_INT_INFO_2__RESERVED_MASK                  = 0xff000000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_FED_MASK                  = 0x00000080L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_MTYPE_MASK                = 0x00000e00L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_MTYPE_OVER_MASK           = 0x00000100L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_NOFILL_MASK               = 0x00008000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_PERF_CNTR_MASK            = 0x00000040L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_POLICY_MASK               = 0x00000030L;
    constexpr unsigned int RLC_SPM_PERFMON_CNTL__RESERVED1_MASK               = 0x00000fffL;
    constexpr unsigned int RLC_SPM_RING_WRPTR__PERFMON_RING_WRPTR_MASK        = 0xffffffe0L;
    constexpr unsigned int RLC_SPM_RING_WRPTR__RESERVED_MASK                  = 0x0000001fL;
    constexpr unsigned int RLC_SPM_SAMPLE_CNT__COUNT_MASK                     = 0xffffffffL;
    constexpr unsigned int RLC_SPM_SEGMENT_THRESHOLD__NUM_SEGMENT_THRESHOLD_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_SEGMENT_THRESHOLD__RESERVED_MASK           = 0xffffff00L;
    constexpr unsigned int RLC_SPM_THREAD_TRACE_CTRL__THREAD_TRACE_INT_EN_MASK = 0x00000001L;
    constexpr unsigned int RMI_PERF_COUNTER_CNTL__PERF_EVENT_WINDOW_MASK1_MASK = 0x00000300L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__EN_USER_ACCUM_MASK              = 0x00200000L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__MAX_VTX_SYNC_CNT_MASK           = 0x001f0000L;
    constexpr unsigned int SPI_CONFIG_CNTL_1__PC_LIMIT_ENABLE_MASK            = 0x00000060L;
    constexpr unsigned int SPI_DSM_CNTL2__SPI_SR_MEM_INJECT_DELAY_MASK        = 0x000001f8L;
    constexpr unsigned int SPI_LB_DATA_PERWGP_WAVE_CS__ACTIVE_MASK            = 0x0000ffffL;
    constexpr unsigned int SPI_LB_DATA_PERWGP_WAVE_HSGS__WGP_USED_GS_MASK     = 0xffff0000L;
    constexpr unsigned int SPI_LB_DATA_PERWGP_WAVE_HSGS__WGP_USED_HS_MASK     = 0x0000ffffL;
    constexpr unsigned int SPI_LB_WGP_MASK__WGP_MASK_MASK                     = 0x0000ffffL;
    constexpr unsigned int SPI_PERFCOUNTER4_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int SPI_PERFCOUNTER5_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int SPI_PG_ENABLE_STATIC_WGP_MASK__WGP_MASK_MASK       = 0x0000ffffL;
    constexpr unsigned int SPI_PQEV_CTRL__COMPUTE_PIPE_EN_MASK                = 0x00ff0000L;
    constexpr unsigned int SPI_PQEV_CTRL__QUEUE_DURATION_MASK                 = 0x0000fc00L;
    constexpr unsigned int SPI_PQEV_CTRL__SCAN_PERIOD_MASK                    = 0x000003ffL;
    constexpr unsigned int SPI_PS_IN_CONTROL__PS_W32_EN_MASK                  = 0x00008000L;
    constexpr unsigned int SPI_SHADER_IDX_FORMAT__IDX0_EXPORT_FORMAT_MASK     = 0x0000000fL;
    constexpr unsigned int SPI_SHADER_PGM_HI_ES_GS__MEM_BASE_MASK             = 0x000000ffL;
    constexpr unsigned int SPI_SHADER_PGM_HI_LS_HS__MEM_BASE_MASK             = 0x000000ffL;
    constexpr unsigned int SPI_SHADER_PGM_LO_ES_GS__MEM_BASE_MASK             = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_PGM_LO_LS_HS__MEM_BASE_MASK             = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__FWD_PROGRESS_MASK         = 0x04000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__MEM_ORDERED_MASK          = 0x02000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_GS__WGP_MODE_MASK             = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__FWD_PROGRESS_MASK         = 0x02000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__MEM_ORDERED_MASK          = 0x01000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_HS__WGP_MODE_MASK             = 0x04000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__FWD_PROGRESS_MASK         = 0x04000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC1_PS__MEM_ORDERED_MASK          = 0x02000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__SHARED_VGPR_CNT_MASK      = 0xf0000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_GS__USER_SGPR_MSB_MASK        = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__EXCP_EN_MASK              = 0x0003fe00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__LDS_SIZE_MASK             = 0x07fc0000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__OC_LDS_EN_MASK            = 0x00000080L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__SHARED_VGPR_CNT_MASK      = 0xf0000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__TG_SIZE_EN_MASK           = 0x00000100L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_HS__USER_SGPR_MSB_MASK        = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__SHARED_VGPR_CNT_MASK      = 0xf0000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC2_PS__USER_SGPR_MSB_MASK        = 0x08000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_GS__GROUP_FIFO_DEPTH_MASK     = 0xfc000000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC3_HS__GROUP_FIFO_DEPTH_MASK     = 0x0000fc00L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC4_GS__SPI_SHADER_LATE_ALLOC_GS_MASK = 0x007f0000L;
    constexpr unsigned int SPI_SHADER_PGM_RSRC4_HS__CU_EN_MASK                = 0x0000ffffL;
    constexpr unsigned int SPI_SHADER_PGM_RSRC4_PS__CU_EN_MASK                = 0x0000ffffL;
    constexpr unsigned int SPI_SHADER_POS_FORMAT__POS4_EXPORT_FORMAT_MASK     = 0x000f0000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_ESGS__ALLOCATION_RATE_THROTTLING_THRESHOLD_MASK = 0x000e0000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_ESGS__GLOBAL_SCANNING_EN_MASK  = 0x00010000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_ESGS__HARD_LOCK_HYSTERESIS_MASK = 0x00000200L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_ESGS__HARD_LOCK_LOW_THRESHOLD_MASK = 0x00007c00L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_ESGS__NUMBER_OF_REQUESTS_PER_CU_MASK = 0x0000001eL;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_ESGS__PRODUCER_REQUEST_LOCKOUT_MASK = 0x00008000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_ESGS__SOFT_GROUPING_ALLOCATION_TIMEOUT_MASK = 0x000001e0L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_ESGS__SOFT_GROUPING_EN_MASK    = 0x00000001L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_LSHS__ALLOCATION_RATE_THROTTLING_THRESHOLD_MASK = 0x000e0000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_LSHS__GLOBAL_SCANNING_EN_MASK  = 0x00010000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_LSHS__HARD_LOCK_HYSTERESIS_MASK = 0x00000200L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_LSHS__HARD_LOCK_LOW_THRESHOLD_MASK = 0x00007c00L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_LSHS__NUMBER_OF_REQUESTS_PER_CU_MASK = 0x0000001eL;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_LSHS__PRODUCER_REQUEST_LOCKOUT_MASK = 0x00008000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_LSHS__SOFT_GROUPING_ALLOCATION_TIMEOUT_MASK = 0x000001e0L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_LSHS__SOFT_GROUPING_EN_MASK    = 0x00000001L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_PS__ALLOCATION_RATE_THROTTLING_THRESHOLD_MASK = 0x000e0000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_PS__GLOBAL_SCANNING_EN_MASK    = 0x00010000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_PS__HARD_LOCK_HYSTERESIS_MASK  = 0x00000200L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_PS__HARD_LOCK_LOW_THRESHOLD_MASK = 0x00007c00L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_PS__NUMBER_OF_REQUESTS_PER_CU_MASK = 0x0000001eL;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_PS__PRODUCER_REQUEST_LOCKOUT_MASK = 0x00008000L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_PS__SOFT_GROUPING_ALLOCATION_TIMEOUT_MASK = 0x000001e0L;
    constexpr unsigned int SPI_SHADER_REQ_CTRL_PS__SOFT_GROUPING_EN_MASK      = 0x00000001L;
    constexpr unsigned int SPI_SHADER_RSRC_LIMIT_CTRL__BARRIER_LIMIT_HIERARCHY_LEVEL_MASK = 0x00080000L;
    constexpr unsigned int SPI_SHADER_RSRC_LIMIT_CTRL__BARRIER_LIMIT_MASK     = 0x0007e000L;
    constexpr unsigned int SPI_SHADER_RSRC_LIMIT_CTRL__LDS_LIMIT_HIERARCHY_LEVEL_MASK = 0x10000000L;
    constexpr unsigned int SPI_SHADER_RSRC_LIMIT_CTRL__LDS_LIMIT_MASK         = 0x0ff00000L;
    constexpr unsigned int SPI_SHADER_RSRC_LIMIT_CTRL__PERFORMANCE_LIMIT_ENABLE_MASK = 0x80000000L;
    constexpr unsigned int SPI_SHADER_RSRC_LIMIT_CTRL__VGPR_PER_SIMD32_MASK   = 0x00000fe0L;
    constexpr unsigned int SPI_SHADER_RSRC_LIMIT_CTRL__VGPR_WRAP_DISABLE_MASK = 0x00001000L;
    constexpr unsigned int SPI_SHADER_RSRC_LIMIT_CTRL__WAVES_PER_SIMD32_MASK  = 0x0000001fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_ESGS_0__CONTRIBUTION_MASK    = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_ESGS_1__CONTRIBUTION_MASK    = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_ESGS_2__CONTRIBUTION_MASK    = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_ESGS_3__CONTRIBUTION_MASK    = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_LSHS_0__CONTRIBUTION_MASK    = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_LSHS_1__CONTRIBUTION_MASK    = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_LSHS_2__CONTRIBUTION_MASK    = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_LSHS_3__CONTRIBUTION_MASK    = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_PS_0__CONTRIBUTION_MASK      = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_PS_1__CONTRIBUTION_MASK      = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_PS_2__CONTRIBUTION_MASK      = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_ACCUM_PS_3__CONTRIBUTION_MASK      = 0x0000007fL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_0__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_1__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_2__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_3__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_4__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_5__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_6__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_7__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_8__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_9__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_10__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_11__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_12__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_13__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_14__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_15__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_16__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_17__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_18__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_19__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_20__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_21__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_22__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_23__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_24__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_25__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_26__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_27__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_28__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_29__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_30__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_GS_31__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_0__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_1__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_2__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_3__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_4__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_5__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_6__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_7__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_8__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_9__DATA_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_10__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_11__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_12__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_13__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_14__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_15__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_16__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_17__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_18__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_19__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_20__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_21__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_22__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_23__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_24__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_25__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_26__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_27__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_28__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_29__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_30__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_SHADER_USER_DATA_HS_31__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SPI_USER_ACCUM_VMID_CNTL__EN_USER_ACCUM_MASK       = 0x0000000fL;
    constexpr unsigned int SPI_VS_OUT_CONFIG__NO_PC_EXPORT_MASK               = 0x00000080L;
    constexpr unsigned int SQ_ALU_CLK_CTRL__FORCE_WGP_ON_SA0_MASK             = 0x0000ffffL;
    constexpr unsigned int SQ_ALU_CLK_CTRL__FORCE_WGP_ON_SA1_MASK             = 0xffff0000L;
    constexpr unsigned int SQ_ARB_CONFIG__FWD_PROG_INTERVAL_MASK              = 0x00000030L;
    constexpr unsigned int SQ_ARB_CONFIG__WG_RR_INTERVAL_MASK                 = 0x00000003L;
    constexpr unsigned int SQ_CMD__CMD_MASK                                   = 0x0000000fL;
    constexpr unsigned int SQ_CMD__WAVE_ID_MASK                               = 0x001f0000L;
    constexpr unsigned int SQ_FIFO_SIZES__EXPORT_BUF_PS_RESERVED_MASK         = 0x0000c000L;
    constexpr unsigned int SQ_FIFO_SIZES__EXPORT_BUF_REDUCE_MASK              = 0x00030000L;
    constexpr unsigned int SQ_FIFO_SIZES__TTRACE_FIFO_SIZE_MASK               = 0x00000300L;
    constexpr unsigned int SQ_IND_INDEX__AUTO_INCR_MASK                       = 0x00000800L;
    constexpr unsigned int SQ_IND_INDEX__WAVE_ID_MASK                         = 0x0000001fL;
    constexpr unsigned int SQ_IND_INDEX__WORKITEM_ID_MASK                     = 0x000007e0L;
    constexpr unsigned int SQ_LDS_CLK_CTRL__FORCE_WGP_ON_SA0_MASK             = 0x0000ffffL;
    constexpr unsigned int SQ_LDS_CLK_CTRL__FORCE_WGP_ON_SA1_MASK             = 0xffff0000L;
    constexpr unsigned int SQ_RANDOM_WAVE_PRI__RNG_MASK                       = 0x00fffc00L;
    constexpr unsigned int SQ_RUNTIME_CONFIG__UNUSED_REGISTER_MASK            = 0x00000001L;
    constexpr unsigned int SQ_SHADER_TBA_HI__TRAP_EN_MASK                     = 0x80000000L;
    constexpr unsigned int SQ_TEX_CLK_CTRL__FORCE_WGP_ON_SA0_MASK             = 0x0000ffffL;
    constexpr unsigned int SQ_TEX_CLK_CTRL__FORCE_WGP_ON_SA1_MASK             = 0xffff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_BUF0_BASE__BASE_LO_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_BUF0_SIZE__BASE_HI_MASK            = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_BUF0_SIZE__SIZE_MASK               = 0x3fffff00L;
    constexpr unsigned int SQ_THREAD_TRACE_BUF1_BASE__BASE_LO_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_BUF1_SIZE__BASE_HI_MASK            = 0x0000000fL;
    constexpr unsigned int SQ_THREAD_TRACE_BUF1_SIZE__SIZE_MASK               = 0x3fffff00L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__ALL_VMID_MASK                = 0x00000004L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__DOUBLE_BUFFER_MASK           = 0x00000020L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__DRAW_EVENT_EN_MASK           = 0x80000000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__HIWATER_MASK                 = 0x000001c0L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__INTERRUPT_EN_MASK            = 0x00000010L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__MODE_MASK                    = 0x00000003L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__RT_FREQ_MASK                 = 0x00030000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__SYNC_COUNT_DRAWS_MASK        = 0x00080000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__SYNC_COUNT_MARKERS_MASK      = 0x00040000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__UTIL_TIMER_MASK              = 0x00002000L;
    constexpr unsigned int SQ_THREAD_TRACE_CTRL__WAVESTART_MODE_MASK          = 0x0000c000L;
    constexpr unsigned int SQ_THREAD_TRACE_DROPPED_CNTR__CNTR_MASK            = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_GFX_DRAW_CNTR__CNTR_MASK           = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_GFX_MARKER_CNTR__CNTR_MASK         = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_HP3D_DRAW_CNTR__CNTR_MASK          = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_HP3D_MARKER_CNTR__CNTR_MASK        = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__SA_SEL_MASK                  = 0x00000200L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__SIMD_SEL_MASK                = 0x00000003L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__WGP_SEL_MASK                 = 0x000000f0L;
    constexpr unsigned int SQ_THREAD_TRACE_MASK__WTYPE_INCLUDE_MASK           = 0x0001fc00L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__BUSY_MASK                  = 0x02000000L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__FINISH_DONE_MASK           = 0x00fff000L;
    constexpr unsigned int SQ_THREAD_TRACE_STATUS__FINISH_PENDING_MASK        = 0x00000fffL;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__INST_EXCLUDE_MASK      = 0x03000000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__REG_DETAIL_ALL_MASK    = 0x80000000L;
    constexpr unsigned int SQ_THREAD_TRACE_TOKEN_MASK__REG_INCLUDE_MASK       = 0x00ff0000L;
    constexpr unsigned int SQ_THREAD_TRACE_USERDATA_4__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_USERDATA_5__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_USERDATA_6__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_USERDATA_7__DATA_MASK              = 0xffffffffL;
    constexpr unsigned int SQ_THREAD_TRACE_WPTR__BUFFER_ID_MASK               = 0x80000000L;
    constexpr unsigned int SQ_THREAD_TRACE_WPTR__OFFSET_MASK                  = 0x1fffffffL;
    constexpr unsigned int SQ_WATCH0_ADDR_H__ADDR_MASK                        = 0x0000ffffL;
    constexpr unsigned int SQ_WATCH0_ADDR_L__ADDR_MASK                        = 0xffffffc0L;
    constexpr unsigned int SQ_WATCH0_CNTL__MASK_MASK                          = 0x00ffffffL;
    constexpr unsigned int SQ_WATCH0_CNTL__VALID_MASK                         = 0x80000000L;
    constexpr unsigned int SQ_WATCH0_CNTL__VMID_MASK                          = 0x0f000000L;
    constexpr unsigned int SQ_WATCH1_ADDR_H__ADDR_MASK                        = 0x0000ffffL;
    constexpr unsigned int SQ_WATCH1_ADDR_L__ADDR_MASK                        = 0xffffffc0L;
    constexpr unsigned int SQ_WATCH1_CNTL__MASK_MASK                          = 0x00ffffffL;
    constexpr unsigned int SQ_WATCH1_CNTL__VALID_MASK                         = 0x80000000L;
    constexpr unsigned int SQ_WATCH1_CNTL__VMID_MASK                          = 0x0f000000L;
    constexpr unsigned int SQ_WATCH2_ADDR_H__ADDR_MASK                        = 0x0000ffffL;
    constexpr unsigned int SQ_WATCH2_ADDR_L__ADDR_MASK                        = 0xffffffc0L;
    constexpr unsigned int SQ_WATCH2_CNTL__MASK_MASK                          = 0x00ffffffL;
    constexpr unsigned int SQ_WATCH2_CNTL__VALID_MASK                         = 0x80000000L;
    constexpr unsigned int SQ_WATCH2_CNTL__VMID_MASK                          = 0x0f000000L;
    constexpr unsigned int SQ_WATCH3_ADDR_H__ADDR_MASK                        = 0x0000ffffL;
    constexpr unsigned int SQ_WATCH3_ADDR_L__ADDR_MASK                        = 0xffffffc0L;
    constexpr unsigned int SQ_WATCH3_CNTL__MASK_MASK                          = 0x00ffffffL;
    constexpr unsigned int SQ_WATCH3_CNTL__VALID_MASK                         = 0x80000000L;
    constexpr unsigned int SQ_WATCH3_CNTL__VMID_MASK                          = 0x0f000000L;
    constexpr unsigned int SQ_WAVE_FLAT_SCRATCH_HI__DATA_MASK                 = 0xffffffffL;
    constexpr unsigned int SQ_WAVE_FLAT_SCRATCH_LO__DATA_MASK                 = 0xffffffffL;
    constexpr unsigned int SQ_WAVE_HW_ID1__SA_ID_MASK                         = 0x00010000L;
    constexpr unsigned int SQ_WAVE_HW_ID1__SIMD_ID_MASK                       = 0x00000300L;
    constexpr unsigned int SQ_WAVE_HW_ID1__WAVE_ID_MASK                       = 0x0000001fL;
    constexpr unsigned int SQ_WAVE_HW_ID1__WGP_ID_MASK                        = 0x00003c00L;
    constexpr unsigned int SQ_WAVE_HW_ID2__ME_ID_MASK                         = 0x00000300L;
    constexpr unsigned int SQ_WAVE_HW_ID2__PIPE_ID_MASK                       = 0x00000030L;
    constexpr unsigned int SQ_WAVE_HW_ID2__QUEUE_ID_MASK                      = 0x0000000fL;
    constexpr unsigned int SQ_WAVE_HW_ID2__STATE_ID_MASK                      = 0x00007000L;
    constexpr unsigned int SQ_WAVE_HW_ID2__VM_ID_MASK                         = 0x0f000000L;
    constexpr unsigned int SQ_WAVE_HW_ID2__WG_ID_MASK                         = 0x001f0000L;
    constexpr unsigned int SQ_WAVE_IB_STS2__FWD_PROGRESS_MASK                 = 0x00000400L;
    constexpr unsigned int SQ_WAVE_IB_STS2__INST_PREFETCH_MASK                = 0x00000003L;
    constexpr unsigned int SQ_WAVE_IB_STS2__MEM_ORDER_MASK                    = 0x00000300L;
    constexpr unsigned int SQ_WAVE_IB_STS2__WAVE64_MASK                       = 0x00000800L;
    constexpr unsigned int SQ_WAVE_IB_STS__VS_CNT_MASK                        = 0xfc000000L;
    constexpr unsigned int SQ_WAVE_LDS_ALLOC__LDS_BASE_MASK                   = 0x000001ffL;
    constexpr unsigned int SQ_WAVE_LDS_ALLOC__VGPR_SHARED_SIZE_MASK           = 0x0f000000L;
    constexpr unsigned int SQ_WAVE_MODE__DISABLE_PERF_MASK                    = 0x08000000L;
    constexpr unsigned int SQ_WAVE_POPS_PACKER__POPS_EN_MASK                  = 0x00000001L;
    constexpr unsigned int SQ_WAVE_POPS_PACKER__POPS_PACKER_ID_MASK           = 0x00000006L;
    constexpr unsigned int SQ_WAVE_SCHED_MODE__DEP_MODE_MASK                  = 0x00000003L;
    constexpr unsigned int SQ_WAVE_STATUS__TTRACE_SIMD_EN_MASK                = 0x00008000L;
    constexpr unsigned int SQ_WAVE_TRAPSTS__BUFFER_OOB_MASK                   = 0x00008000L;
    constexpr unsigned int TA_CNTL_AUX__ANISO_MAG_STEP_CLAMP_MASK             = 0x00000100L;
    constexpr unsigned int TA_CNTL_AUX__AUTO_ALIGN_FORMAT_MASK                = 0x00000200L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER2__REQ_MODE_MASK             = 0x00000007L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__COMPRESSION_ENABLE_MASK = 0x00000800L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__DLC_MASK                = 0x00000200L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__GLC_MASK                = 0x00000400L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__REQ_MODE_MASK           = 0x00001000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER_EN__SLC_MASK                = 0x00000100L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__COMPRESSION_ENABLE_MASK    = 0x40000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__DATA_FORMAT_MASK           = 0x00000fe0L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__DLC_MASK                   = 0x10000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__GLC_MASK                   = 0x20000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__NUM_FORMAT_MASK            = 0x0001e000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__NUM_SAMPLES_MASK           = 0x00c00000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__OPCODE_TYPE_MASK           = 0x07000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__SLC_MASK                   = 0x08000000L;
    constexpr unsigned int TCP_PERFCOUNTER_FILTER__SW_MODE_MASK               = 0x003e0000L;
    constexpr unsigned int UTCL1_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int UTCL1_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int UTCL1_PERFCOUNTER0_SELECT__COUNTER_MODE_MASK       = 0xf0000000L;
    constexpr unsigned int UTCL1_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int UTCL1_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int UTCL1_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int UTCL1_PERFCOUNTER1_SELECT__COUNTER_MODE_MASK       = 0xf0000000L;
    constexpr unsigned int UTCL1_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int VGT_DMA_DATA_FIFO_DEPTH__DMA_DATA_FIFO_DEPTH_MASK  = 0x000003ffL;
    constexpr unsigned int VGT_DMA_INDEX_TYPE__ATC_MASK                       = 0x00000100L;
    constexpr unsigned int VGT_DMA_INDEX_TYPE__MTYPE_MASK                     = 0x00003800L;
    constexpr unsigned int VGT_DMA_INDEX_TYPE__RDREQ_POLICY_MASK              = 0x000000c0L;
    constexpr unsigned int VGT_DRAW_PAYLOAD_CNTL__EN_DRAW_VP_MASK             = 0x00000010L;
    constexpr unsigned int VGT_DRAW_PAYLOAD_CNTL__EN_PRIM_PAYLOAD_MASK        = 0x00000008L;
    constexpr unsigned int VGT_GS_INSTANCE_CNT__EN_MAX_VERT_OUT_PER_GS_INSTANCE_MASK = 0x80000000L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__DYNAMIC_HS_MASK              = 0x00000100L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__GS_W32_EN_MASK               = 0x00400000L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__HS_W32_EN_MASK               = 0x00200000L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__NGG_WAVE_ID_EN_MASK          = 0x01000000L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__PRIMGEN_PASSTHRU_EN_MASK     = 0x02000000L;
    constexpr unsigned int VGT_SHADER_STAGES_EN__VS_W32_EN_MASK               = 0x00800000L;
    constexpr unsigned int VGT_TF_PARAM__DETECT_ONE_MASK                      = 0x00080000L;
    constexpr unsigned int VGT_TF_PARAM__DETECT_ZERO_MASK                     = 0x00100000L;
    constexpr unsigned int VGT_TF_PARAM__MTYPE_MASK                           = 0x03800000L;
    constexpr unsigned int VGT_TF_PARAM__NUM_DS_WAVES_PER_SIMD_MASK           = 0x00003c00L;
    constexpr unsigned int VGT_TF_PARAM__RDREQ_POLICY_MASK                    = 0x00018000L;
    constexpr unsigned int WD_UTCL1_CNTL__MTYPE_OVERRIDE_MASK                 = 0x20000000L;
} // namespace Gfx10Plus

namespace Gfx10Vrs
{
    constexpr unsigned int CB_COLOR0_ATTRIB3__VRS_RATE_HINT_ENABLE_MASK       = 0x80000000L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__DCC_COMPRESS_DISABLE_MASK   = 0x00400000L;
    constexpr unsigned int CB_COLOR0_DCC_CONTROL__SKIP_LOW_COMP_RATIO_MASK    = 0x00200000L;
    constexpr unsigned int CB_COLOR1_ATTRIB3__VRS_RATE_HINT_ENABLE_MASK       = 0x80000000L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__DCC_COMPRESS_DISABLE_MASK   = 0x00400000L;
    constexpr unsigned int CB_COLOR1_DCC_CONTROL__SKIP_LOW_COMP_RATIO_MASK    = 0x00200000L;
    constexpr unsigned int CB_COLOR2_ATTRIB3__VRS_RATE_HINT_ENABLE_MASK       = 0x80000000L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__DCC_COMPRESS_DISABLE_MASK   = 0x00400000L;
    constexpr unsigned int CB_COLOR2_DCC_CONTROL__SKIP_LOW_COMP_RATIO_MASK    = 0x00200000L;
    constexpr unsigned int CB_COLOR3_ATTRIB3__VRS_RATE_HINT_ENABLE_MASK       = 0x80000000L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__DCC_COMPRESS_DISABLE_MASK   = 0x00400000L;
    constexpr unsigned int CB_COLOR3_DCC_CONTROL__SKIP_LOW_COMP_RATIO_MASK    = 0x00200000L;
    constexpr unsigned int CB_COLOR4_ATTRIB3__VRS_RATE_HINT_ENABLE_MASK       = 0x80000000L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__DCC_COMPRESS_DISABLE_MASK   = 0x00400000L;
    constexpr unsigned int CB_COLOR4_DCC_CONTROL__SKIP_LOW_COMP_RATIO_MASK    = 0x00200000L;
    constexpr unsigned int CB_COLOR5_ATTRIB3__VRS_RATE_HINT_ENABLE_MASK       = 0x80000000L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__DCC_COMPRESS_DISABLE_MASK   = 0x00400000L;
    constexpr unsigned int CB_COLOR5_DCC_CONTROL__SKIP_LOW_COMP_RATIO_MASK    = 0x00200000L;
    constexpr unsigned int CB_COLOR6_ATTRIB3__VRS_RATE_HINT_ENABLE_MASK       = 0x80000000L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__DCC_COMPRESS_DISABLE_MASK   = 0x00400000L;
    constexpr unsigned int CB_COLOR6_DCC_CONTROL__SKIP_LOW_COMP_RATIO_MASK    = 0x00200000L;
    constexpr unsigned int CB_COLOR7_ATTRIB3__VRS_RATE_HINT_ENABLE_MASK       = 0x80000000L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__DCC_COMPRESS_DISABLE_MASK   = 0x00400000L;
    constexpr unsigned int CB_COLOR7_DCC_CONTROL__SKIP_LOW_COMP_RATIO_MASK    = 0x00200000L;
    constexpr unsigned int CB_HW_CONTROL_1__CC_CACHE_NUM_TAGS_MASK            = 0x0003f000L;
    constexpr unsigned int CB_HW_CONTROL_1__CM_TILE_FIFO_DEPTH_MASK           = 0x07fc0000L;
    constexpr unsigned int CB_HW_CONTROL_3__DISABLE_DCC_VRS_OPT_MASK          = 0x10000000L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_CMASK_CACHE_BYTEMASKING_MASK = 0x00010000L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_COMPRESS_1FRAG_WHEN_VRS_RATE_HINT_EN_MASK = 0x00000020L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_FILLRATE_OPT_FIX_WITH_CFC_MASK = 0x00000008L;
    constexpr unsigned int CB_HW_CONTROL__DISABLE_POST_DCC_WITH_CFC_FIX_MASK  = 0x00000010L;
    constexpr unsigned int DB_EXCEPTION_CONTROL__FORCE_VRS_RATE_FINE_MASK     = 0x00ff0000L;
    constexpr unsigned int DB_HTILE_SURFACE__VRS_HTILE_ENCODING_MASK          = 0x00180000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__DBCB_LOB_USES_MAXBURST_MASK = 0x00010000L;
    constexpr unsigned int DB_LAST_OF_BURST_CONFIG__ENABLE_TIMEOUT_CB_LOB_GEN_MASK = 0x01000000L;
    constexpr unsigned int DB_RENDER_OVERRIDE2__FORCE_VRS_RATE_FINE_MASK      = 0x04000000L;
    constexpr unsigned int DB_VRS_OVERRIDE_CNTL__VRS_OVERRIDE_RATE_COMBINER_MODE_MASK = 0x00000007L;
    constexpr unsigned int DB_VRS_OVERRIDE_CNTL__VRS_OVERRIDE_RATE_X_MASK     = 0x00000030L;
    constexpr unsigned int DB_VRS_OVERRIDE_CNTL__VRS_OVERRIDE_RATE_Y_MASK     = 0x000000c0L;
    constexpr unsigned int GE_PC_CNTL__NO_RESERVATION_EN_MASK                 = 0x00020000L;
    constexpr unsigned int GE_PC_CNTL__WAVES_WITH_NO_GRANT_MASK               = 0x003c0000L;
    constexpr unsigned int PA_CL_ENHANCE__CLAMP_NEGATIVE_BB_TO_ZERO_MASK      = 0x01000000L;
    constexpr unsigned int PA_SC_ENHANCE_3__DISABLE_RB_MASK_COPY_FOR_NONP2_SA_HARVEST_MASK = 0x00000004L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SwaAutoResetPerfmonDisable_MASK = 0x00000010L;
    constexpr unsigned int RLC_SPM_GLOBAL_MUXSEL_ADDR_OFFSET__OFFSET_MASK     = 0x0000ffffL;
    constexpr unsigned int RLC_SPM_GLOBAL_MUXSEL_ADDR_OFFSET__RESERVED_MASK   = 0xffff0000L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_GLB_SEGMENT_SIZE__GLOBAL_NUM_LINE_MASK = 0x0000ff00L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_GLB_SEGMENT_SIZE__PERFMON_SEGMENT_SIZE_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_GLB_SEGMENT_SIZE__RESERVED_MASK = 0xffff0000L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SE3TO0_SEGMENT_SIZE__SE0_NUM_LINE_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SE3TO0_SEGMENT_SIZE__SE1_NUM_LINE_MASK = 0x0000ff00L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SE3TO0_SEGMENT_SIZE__SE2_NUM_LINE_MASK = 0x00ff0000L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SE3TO0_SEGMENT_SIZE__SE3_NUM_LINE_MASK = 0xff000000L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SEGMENT_SIZE__GLOBAL_NUM_LINE_MASK = 0x0000f800L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SEGMENT_SIZE__PERFMON_SEGMENT_SIZE_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SEGMENT_SIZE__RESERVED1_MASK   = 0x00000700L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SEGMENT_SIZE__RESERVED_MASK    = 0x80000000L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SEGMENT_SIZE__SE0_NUM_LINE_MASK = 0x001f0000L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SEGMENT_SIZE__SE1_NUM_LINE_MASK = 0x03e00000L;
    constexpr unsigned int RLC_SPM_PERFMON_SWA_SEGMENT_SIZE__SE2_NUM_LINE_MASK = 0x7c000000L;
    constexpr unsigned int RLC_SPM_SE_MUXSEL_ADDR_OFFSET__OFFSET_MASK         = 0x0000ffffL;
    constexpr unsigned int RLC_SPM_SE_MUXSEL_ADDR_OFFSET__RESERVED_MASK       = 0xffff0000L;
    constexpr unsigned int SPI_CONFIG_CNTL__FORCE_HALF_RATE_PC_EXP_MASK       = 0x04000000L;
    constexpr unsigned int SPI_GFX_CRAWLER_CONFIG__VS_DEPTH_MASK              = 0x003e0000L;
    constexpr unsigned int SPI_IND_DATA__DATA_MASK                            = 0xffffffffL;
    constexpr unsigned int SPI_IND_INDEX__INDEX_MASK                          = 0xffffffffL;
    constexpr unsigned int SQ_CLK_CTRL__WCLK2DCLK_OVERRIDE_MASK               = 0x00000001L;
    constexpr unsigned int SQ_CONFIG__CHICKEN_BIT_DEGGIGXX0_8637_MASK         = 0x00000020L;
    constexpr unsigned int SQ_CONFIG__UNUSED_6_MASK                           = 0x00000040L;
    constexpr unsigned int SQ_CONFIG__UNUSED_MASK                             = 0x0000001fL;
    constexpr unsigned int WD_CNTL_STATUS__DIST_BE_BUSY_MASK                  = 0x00020000L;
    constexpr unsigned int WD_CNTL_STATUS__DIST_BUSY_MASK                     = 0x00010000L;
    constexpr unsigned int WD_CNTL_STATUS__GS0_BUSY_MASK                      = 0x00000800L;
    constexpr unsigned int WD_CNTL_STATUS__GS1_BUSY_MASK                      = 0x00000400L;
    constexpr unsigned int WD_CNTL_STATUS__GS2_BUSY_MASK                      = 0x00000200L;
    constexpr unsigned int WD_CNTL_STATUS__GS3_BUSY_MASK                      = 0x00000100L;
    constexpr unsigned int WD_CNTL_STATUS__HS0_BUSY_MASK                      = 0x00000080L;
    constexpr unsigned int WD_CNTL_STATUS__HS1_BUSY_MASK                      = 0x00000040L;
    constexpr unsigned int WD_CNTL_STATUS__HS2_BUSY_MASK                      = 0x00000020L;
    constexpr unsigned int WD_CNTL_STATUS__HS3_BUSY_MASK                      = 0x00000010L;
    constexpr unsigned int WD_CNTL_STATUS__NGG0_BUSY_MASK                     = 0x00008000L;
    constexpr unsigned int WD_CNTL_STATUS__NGG1_BUSY_MASK                     = 0x00004000L;
    constexpr unsigned int WD_CNTL_STATUS__NGG2_BUSY_MASK                     = 0x00002000L;
    constexpr unsigned int WD_CNTL_STATUS__NGG3_BUSY_MASK                     = 0x00001000L;
    constexpr unsigned int WD_CNTL_STATUS__TE0_BUSY_MASK                      = 0x08000000L;
    constexpr unsigned int WD_CNTL_STATUS__TE1_BUSY_MASK                      = 0x04000000L;
    constexpr unsigned int WD_CNTL_STATUS__TE2_BUSY_MASK                      = 0x02000000L;
    constexpr unsigned int WD_CNTL_STATUS__TE3_BUSY_MASK                      = 0x01000000L;
    constexpr unsigned int WD_CNTL_STATUS__VR0_BUSY_MASK                      = 0x00000008L;
    constexpr unsigned int WD_CNTL_STATUS__VR1_BUSY_MASK                      = 0x00000004L;
    constexpr unsigned int WD_CNTL_STATUS__VR2_BUSY_MASK                      = 0x00000002L;
    constexpr unsigned int WD_CNTL_STATUS__VR3_BUSY_MASK                      = 0x00000001L;
} // namespace Gfx10Vrs

namespace NotGfx10
{
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_10__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_11__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_12__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_13__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_14__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__BARRIERS_MASK          = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__LDS_MASK               = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__SGPR_MASK              = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__VGPR_MASK              = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_15__WAVES_MASK             = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_10__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_10__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_10__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_11__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_11__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_11__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_12__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_12__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_12__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_13__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_13__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_13__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_14__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_14__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_14__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_15__EN_MASK             = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_15__QUEUE_MASK_MASK     = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_15__TYPE_MASK_MASK      = 0x0000fffeL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS4__VALUE_MASK               = 0x0000007fL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS5__VALUE_MASK               = 0x0000007fL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS6__VALUE_MASK               = 0x0000007fL;
    constexpr unsigned int SPI_WCL_PIPE_PERCENT_CS7__VALUE_MASK               = 0x0000007fL;
} // namespace NotGfx10

namespace Nv21
{
    constexpr unsigned int CB_HW_CONTROL_1__FC_CACHE_NUM_TAGS_MASK            = 0x00000fe0L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__CMASK_L3_BYPASS_MASK     = 0x01000000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__FMASK_L3_BYPASS_MASK     = 0x02000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi0__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi1__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi2__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi3__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi4__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi5__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi6__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi7__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo0__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo1__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo2__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo3__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo4__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo5__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo6__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo7__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int GUS_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE0_MASK          = 0x00000003L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE1_MASK          = 0x0000000cL;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE2_MASK          = 0x00000030L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE3_MASK          = 0x000000c0L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE0_MASK         = 0x00000f00L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE1_MASK         = 0x0000f000L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE2_MASK         = 0x000f0000L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE3_MASK         = 0x00f00000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GUS_PERFCOUNTER_HI__COMPARE_VALUE_MASK             = 0xffff0000L;
    constexpr unsigned int GUS_PERFCOUNTER_HI__COUNTER_HI_MASK                = 0x0000ffffL;
    constexpr unsigned int GUS_PERFCOUNTER_LO__COUNTER_LO_MASK                = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK          = 0x02000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK         = 0x01000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK      = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK       = 0x00ff0000L;
    constexpr unsigned int IA_UTCL1_CNTL__LLC_NOALLOC_OVERRIDE_MASK           = 0x40000000L;
    constexpr unsigned int MP1_SMN_FPS_CNT__COUNT_MASK                        = 0xffffffffL;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_FAULT_DETECTED_MASK         = 0x00000001L;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_PRT_DETECTED_MASK           = 0x00000004L;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_RETRY_DETECTED_MASK         = 0x00000002L;
    constexpr unsigned int PA_SC_ENHANCE_3__RSVD_MASK                         = 0xffffffc0L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_PACKER_PER_SC_MASK = 0x00300000L;
    constexpr unsigned int PerfMonCtl1__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl1__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl1__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl1__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl1__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl1__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl1__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl1__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl2__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl2__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl2__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl2__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl2__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl2__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl2__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl2__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl3__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl3__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl3__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl3__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl3__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl3__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl3__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl3__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl4__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl4__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl4__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl4__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl4__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl4__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl4__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl4__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl5__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl5__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl5__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl5__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl5__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl5__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl5__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl5__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtlClk__ClkGate_MASK                        = 0x00400000L;
    constexpr unsigned int PerfMonCtlClk__CtrClkEn_MASK                       = 0x80000000L;
    constexpr unsigned int PerfMonCtlClk__GlblMonEn_MASK                      = 0x02000000L;
    constexpr unsigned int PerfMonCtlClk__GlblResetMsk_MASK                   = 0x0000003fL;
    constexpr unsigned int PerfMonCtlClk__GlblReset_MASK                      = 0x01000000L;
    constexpr unsigned int PerfMonCtr1_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr1_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr1_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr1_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr1_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr2_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr2_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr2_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr2_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr2_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr3_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr3_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr3_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr3_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr3_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr4_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr4_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr4_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr4_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr4_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr5_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr5_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr5_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr5_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr5_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtrClk_Hi__Data_MASK                        = 0x0000ffffL;
    constexpr unsigned int PerfMonCtrClk_Hi__Overflow_MASK                    = 0x00010000L;
    constexpr unsigned int PerfMonCtrClk_Lo__Data_MASK                        = 0xffffffffL;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE1_LoadOverride_MASK          = 0x00002000L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE1_SwaLoadOverride_MASK       = 0x00004000L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE2_LoadOverride_MASK          = 0x00008000L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE2_SwaLoadOverride_MASK       = 0x00010000L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE3_LoadOverride_MASK          = 0x00020000L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE3_SwaLoadOverride_MASK       = 0x00040000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__RESERVED_MASK                = 0xff800000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_LLC_NOALLOC_MASK          = 0x00040000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_LLC_NOALLOC_OVER_MASK     = 0x00080000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_RO_MASK                   = 0x00002000L;
    constexpr unsigned int SDMA1_PERFCNT_MISC_CNTL__CMD_OP_MASK               = 0x0000ffffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_HI__COMPARE_VALUE_MASK   = 0xffff0000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_HI__COUNTER_HI_MASK      = 0x0000ffffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_LO__COUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK = 0x02000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK = 0x01000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK = 0x0000ff00L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK = 0x00ff0000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA2_PERFCNT_MISC_CNTL__CMD_OP_MASK               = 0x0000ffffL;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER0_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER0_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER0_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER1_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER1_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER1_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_HI__COMPARE_VALUE_MASK   = 0xffff0000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_HI__COUNTER_HI_MASK      = 0x0000ffffL;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_LO__COUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK = 0x02000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK = 0x01000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK = 0x0000ff00L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int SDMA2_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK = 0x00ff0000L;
    constexpr unsigned int SDMA2_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA2_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA2_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA2_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA2_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA2_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA3_PERFCNT_MISC_CNTL__CMD_OP_MASK               = 0x0000ffffL;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER0_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER0_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER0_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER1_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER1_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER1_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_HI__COMPARE_VALUE_MASK   = 0xffff0000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_HI__COUNTER_HI_MASK      = 0x0000ffffL;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_LO__COUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK = 0x02000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK = 0x01000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK = 0x0000ff00L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int SDMA3_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK = 0x00ff0000L;
    constexpr unsigned int SDMA3_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA3_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA3_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA3_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA3_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA3_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SPI_CONFIG_CNTL_1_REMAP__RESERVED_MASK             = 0xffffffffL;
    constexpr unsigned int SPI_CONFIG_CNTL_2_REMAP__RESERVED_MASK             = 0xffffffffL;
    constexpr unsigned int SPI_CONFIG_CNTL_REMAP__RESERVED_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_FEATURE_CTRL__ACTIVE_HARD_LOCK_LIMIT_MASK      = 0x00000f80L;
    constexpr unsigned int SPI_FEATURE_CTRL__ALLOCATION_RATE_THROTTLE_THRESHOLD_MASK = 0x0000007cL;
    constexpr unsigned int SPI_FEATURE_CTRL__BUS_ACTIVITY_THRESHOLD_ALLOC_STALL_EN_MASK = 0x00080000L;
    constexpr unsigned int SPI_FEATURE_CTRL__BUS_ACTIVITY_THRESHOLD_MASK      = 0x0ff00000L;
    constexpr unsigned int SPI_FEATURE_CTRL__CU_LOCKING_FAIRNESS_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int SPI_FEATURE_CTRL__LR_IMBALANCE_THRESHOLD_MASK      = 0x0003f000L;
    constexpr unsigned int SPI_FEATURE_CTRL__RA_PIPE_DEPTH_THRESHOLD_ALLOC_STALL_EN_MASK = 0x00040000L;
    constexpr unsigned int SPI_FEATURE_CTRL__TUNNELING_WAVE_LIMIT_MASK        = 0xf0000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_WAVE_LIMIT_CNTL_REMAP__RESERVED_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_ESGS_RING_SIZE_UMD__MEM_SIZE_MASK              = 0xffffffffL;
    constexpr unsigned int VGT_GSVS_RING_SIZE_UMD__MEM_SIZE_MASK              = 0xffffffffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM_UMD__OFFCHIP_BUFFERING_MASK   = 0x000003ffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM_UMD__OFFCHIP_GRANULARITY_MASK = 0x00000c00L;
    constexpr unsigned int VGT_TF_MEMORY_BASE_HI_UMD__BASE_HI_MASK            = 0x000000ffL;
    constexpr unsigned int VGT_TF_MEMORY_BASE_UMD__BASE_MASK                  = 0xffffffffL;
    constexpr unsigned int VGT_TF_RING_SIZE_UMD__SIZE_MASK                    = 0x0000ffffL;
    constexpr unsigned int WD_CNTL_STATUS__GE_UTCL1_BUSY_MASK                 = 0x00800000L;
    constexpr unsigned int WD_CNTL_STATUS__PC_MANAGER_BUSY_MASK               = 0x20000000L;
    constexpr unsigned int WD_CNTL_STATUS__SA0_OUTPUT_BLOCK_BUSY_MASK         = 0x00400000L;
    constexpr unsigned int WD_CNTL_STATUS__SA1_OUTPUT_BLOCK_BUSY_MASK         = 0x00200000L;
    constexpr unsigned int WD_CNTL_STATUS__SA2_OUTPUT_BLOCK_BUSY_MASK         = 0x00100000L;
    constexpr unsigned int WD_CNTL_STATUS__SA3_OUTPUT_BLOCK_BUSY_MASK         = 0x00080000L;
    constexpr unsigned int WD_CNTL_STATUS__WD_TE11_BUSY_MASK                  = 0x00040000L;
    constexpr unsigned int WD_CNTL_STATUS__WLC_BUSY_MASK                      = 0x10000000L;
    constexpr unsigned int WD_UTCL1_CNTL__LLC_NOALLOC_OVERRIDE_MASK           = 0x40000000L;
} // namespace Nv21

namespace Nv22
{
    constexpr unsigned int CB_HW_CONTROL_1__FC_CACHE_NUM_TAGS_MASK            = 0x00000fe0L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__CMASK_L3_BYPASS_MASK     = 0x01000000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__FMASK_L3_BYPASS_MASK     = 0x02000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK         = 0x0f000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK         = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK          = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK          = 0x000ffc00L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_MODE1_MASK          = 0x0f000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_SEL1_MASK           = 0x000ffc00L;
    constexpr unsigned int CHCG_PERFCOUNTER0_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER1_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER2_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_HI__PERFCOUNTER_HI_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_LO__PERFCOUNTER_LO_MASK          = 0xffffffffL;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__CNTR_MODE_MASK           = 0x00f00000L;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__PERF_MODE_MASK           = 0xf0000000L;
    constexpr unsigned int CHCG_PERFCOUNTER3_SELECT__PERF_SEL_MASK            = 0x000003ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi0__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi1__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi2__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi3__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi4__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi5__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi6__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi7__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo0__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo1__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo2__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo3__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo4__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo5__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo6__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo7__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER0_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__CLEAR_MASK                   = 0x20000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__ENABLE_MASK                  = 0x10000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_MODE_MASK               = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_SEL_END_MASK            = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER1_CFG__PERF_SEL_MASK                = 0x000000ffL;
    constexpr unsigned int GUS_PERFCOUNTER2_HI__PERFCOUNTER_HI_MASK           = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER2_LO__PERFCOUNTER_LO_MASK           = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE0_MASK          = 0x00000003L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE1_MASK          = 0x0000000cL;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE2_MASK          = 0x00000030L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_MODE3_MASK          = 0x000000c0L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE0_MASK         = 0x00000f00L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE1_MASK         = 0x0000f000L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE2_MASK         = 0x000f0000L;
    constexpr unsigned int GUS_PERFCOUNTER2_MODE__COMPARE_VALUE3_MASK         = 0x00f00000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_MODE2_MASK          = 0xf0000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_MODE3_MASK          = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_SEL2_MASK           = 0x000003ffL;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT1__PERF_SEL3_MASK           = 0x000ffc00L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__CNTR_MODE_MASK            = 0x00f00000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_MODE1_MASK           = 0x0f000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_MODE_MASK            = 0xf0000000L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_SEL1_MASK            = 0x000ffc00L;
    constexpr unsigned int GUS_PERFCOUNTER2_SELECT__PERF_SEL_MASK             = 0x000003ffL;
    constexpr unsigned int GUS_PERFCOUNTER_HI__COMPARE_VALUE_MASK             = 0xffff0000L;
    constexpr unsigned int GUS_PERFCOUNTER_HI__COUNTER_HI_MASK                = 0x0000ffffL;
    constexpr unsigned int GUS_PERFCOUNTER_LO__COUNTER_LO_MASK                = 0xffffffffL;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK          = 0x02000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK         = 0x01000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK      = 0x0000ff00L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int GUS_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK       = 0x00ff0000L;
    constexpr unsigned int IA_UTCL1_CNTL__LLC_NOALLOC_OVERRIDE_MASK           = 0x40000000L;
    constexpr unsigned int MP1_SMN_FPS_CNT__COUNT_MASK                        = 0xffffffffL;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_FAULT_DETECTED_MASK         = 0x00000001L;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_PRT_DETECTED_MASK           = 0x00000004L;
    constexpr unsigned int PA_CL_CNTL_STATUS__UTC_RETRY_DETECTED_MASK         = 0x00000002L;
    constexpr unsigned int PA_SC_ENHANCE_3__RSVD_MASK                         = 0xffffffc0L;
    constexpr unsigned int PA_SC_TILE_STEERING_OVERRIDE__NUM_PACKER_PER_SC_MASK = 0x00300000L;
    constexpr unsigned int PerfMonCtl1__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl1__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl1__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl1__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl1__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl1__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl1__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl1__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl2__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl2__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl2__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl2__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl2__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl2__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl2__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl2__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl3__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl3__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl3__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl3__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl3__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl3__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl3__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl3__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl4__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl4__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl4__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl4__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl4__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl4__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl4__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl4__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl5__BankSel_MASK                          = 0x00ff0000L;
    constexpr unsigned int PerfMonCtl5__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl5__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl5__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl5__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl5__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl5__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl5__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtlClk__ClkGate_MASK                        = 0x00400000L;
    constexpr unsigned int PerfMonCtlClk__CtrClkEn_MASK                       = 0x80000000L;
    constexpr unsigned int PerfMonCtlClk__GlblMonEn_MASK                      = 0x02000000L;
    constexpr unsigned int PerfMonCtlClk__GlblResetMsk_MASK                   = 0x0000003fL;
    constexpr unsigned int PerfMonCtlClk__GlblReset_MASK                      = 0x01000000L;
    constexpr unsigned int PerfMonCtr1_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr1_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr1_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr1_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr1_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr2_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr2_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr2_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr2_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr2_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr3_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr3_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr3_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr3_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr3_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr4_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr4_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr4_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr4_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr4_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr5_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr5_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr5_Hi__ThreshCntEn_MASK                   = 0x000c0000L;
    constexpr unsigned int PerfMonCtr5_Hi__ThreshCnt_MASK                     = 0xfff00000L;
    constexpr unsigned int PerfMonCtr5_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtrClk_Hi__Data_MASK                        = 0x0000ffffL;
    constexpr unsigned int PerfMonCtrClk_Hi__Overflow_MASK                    = 0x00010000L;
    constexpr unsigned int PerfMonCtrClk_Lo__Data_MASK                        = 0xffffffffL;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE1_LoadOverride_MASK          = 0x00002000L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE1_SwaLoadOverride_MASK       = 0x00004000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__MultiSampleAborted_MASK      = 0x00800000L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__RESERVED_MASK                = 0xff000000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_LLC_NOALLOC_MASK          = 0x00040000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_LLC_NOALLOC_OVER_MASK     = 0x00080000L;
    constexpr unsigned int RLC_SPM_MC_CNTL__RLC_SPM_RO_MASK                   = 0x00002000L;
    constexpr unsigned int SDMA1_PERFCNT_MISC_CNTL__CMD_OP_MASK               = 0x0000ffffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER0_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__CLEAR_MASK         = 0x20000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__ENABLE_MASK        = 0x10000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__PERF_MODE_MASK     = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_END_MASK  = 0x0000ff00L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER1_CFG__PERF_SEL_MASK      = 0x000000ffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_HI__COMPARE_VALUE_MASK   = 0xffff0000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_HI__COUNTER_HI_MASK      = 0x0000ffffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_LO__COUNTER_LO_MASK      = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK = 0x02000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK = 0x01000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__PERF_COUNTER_SELECT_MASK = 0x0000000fL;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__START_TRIGGER_MASK = 0x0000ff00L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_ALL_ON_SATURATE_MASK = 0x04000000L;
    constexpr unsigned int SDMA1_PERFCNT_PERFCOUNTER_RSLT_CNTL__STOP_TRIGGER_MASK = 0x00ff0000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SPI_CONFIG_CNTL_1_REMAP__RESERVED_MASK             = 0xffffffffL;
    constexpr unsigned int SPI_CONFIG_CNTL_2_REMAP__RESERVED_MASK             = 0xffffffffL;
    constexpr unsigned int SPI_CONFIG_CNTL_REMAP__RESERVED_MASK               = 0xffffffffL;
    constexpr unsigned int SPI_FEATURE_CTRL__ACTIVE_HARD_LOCK_LIMIT_MASK      = 0x00000f80L;
    constexpr unsigned int SPI_FEATURE_CTRL__ALLOCATION_RATE_THROTTLE_THRESHOLD_MASK = 0x0000007cL;
    constexpr unsigned int SPI_FEATURE_CTRL__BUS_ACTIVITY_THRESHOLD_ALLOC_STALL_EN_MASK = 0x00080000L;
    constexpr unsigned int SPI_FEATURE_CTRL__BUS_ACTIVITY_THRESHOLD_MASK      = 0x0ff00000L;
    constexpr unsigned int SPI_FEATURE_CTRL__CU_LOCKING_FAIRNESS_DISABLE_MASK = 0x00000001L;
    constexpr unsigned int SPI_FEATURE_CTRL__LR_IMBALANCE_THRESHOLD_MASK      = 0x0003f000L;
    constexpr unsigned int SPI_FEATURE_CTRL__RA_PIPE_DEPTH_THRESHOLD_ALLOC_STALL_EN_MASK = 0x00040000L;
    constexpr unsigned int SPI_FEATURE_CTRL__TUNNELING_WAVE_LIMIT_MASK        = 0xf0000000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_6__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_7__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_8__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__BARRIERS_MASK           = 0x00078000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__LDS_MASK                = 0x00000f00L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__SGPR_MASK               = 0x000000f0L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__VGPR_MASK               = 0x0000000fL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_CU_9__WAVES_MASK              = 0x00007000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_6__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_7__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_8__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__EN_MASK              = 0x00000001L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__QUEUE_MASK_MASK      = 0x00ff0000L;
    constexpr unsigned int SPI_RESOURCE_RESERVE_EN_CU_9__TYPE_MASK_MASK       = 0x0000fffeL;
    constexpr unsigned int SPI_WAVE_LIMIT_CNTL_REMAP__RESERVED_MASK           = 0xffffffffL;
    constexpr unsigned int VGT_ESGS_RING_SIZE_UMD__MEM_SIZE_MASK              = 0xffffffffL;
    constexpr unsigned int VGT_GSVS_RING_SIZE_UMD__MEM_SIZE_MASK              = 0xffffffffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM_UMD__OFFCHIP_BUFFERING_MASK   = 0x000003ffL;
    constexpr unsigned int VGT_HS_OFFCHIP_PARAM_UMD__OFFCHIP_GRANULARITY_MASK = 0x00000c00L;
    constexpr unsigned int VGT_TF_MEMORY_BASE_HI_UMD__BASE_HI_MASK            = 0x000000ffL;
    constexpr unsigned int VGT_TF_MEMORY_BASE_UMD__BASE_MASK                  = 0xffffffffL;
    constexpr unsigned int VGT_TF_RING_SIZE_UMD__SIZE_MASK                    = 0x0000ffffL;
    constexpr unsigned int WD_CNTL_STATUS__GE_UTCL1_BUSY_MASK                 = 0x00400000L;
    constexpr unsigned int WD_CNTL_STATUS__PC_MANAGER_BUSY_MASK               = 0x10000000L;
    constexpr unsigned int WD_CNTL_STATUS__SA0_OUTPUT_BLOCK_BUSY_MASK         = 0x00200000L;
    constexpr unsigned int WD_CNTL_STATUS__SA1_OUTPUT_BLOCK_BUSY_MASK         = 0x00100000L;
    constexpr unsigned int WD_CNTL_STATUS__SA2_OUTPUT_BLOCK_BUSY_MASK         = 0x00080000L;
    constexpr unsigned int WD_CNTL_STATUS__SA3_OUTPUT_BLOCK_BUSY_MASK         = 0x00040000L;
    constexpr unsigned int WD_CNTL_STATUS__WD_TE11_BUSY_MASK                  = 0x00800000L;
    constexpr unsigned int WD_CNTL_STATUS__WLC_BUSY_MASK                      = 0x20000000L;
    constexpr unsigned int WD_UTCL1_CNTL__LLC_NOALLOC_OVERRIDE_MASK           = 0x40000000L;
} // namespace Nv22

namespace Oss50
{
    constexpr unsigned int SDMA0_PERFCOUNTER0_RESULT__PERF_COUNT_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCOUNTER1_RESULT__PERF_COUNT_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA0_PERFCOUNTER_TAG_DELAY_RANGE__RANGE_HIGH_MASK = 0x0fffc000L;
    constexpr unsigned int SDMA0_PERFCOUNTER_TAG_DELAY_RANGE__RANGE_LOW_MASK  = 0x00003fffL;
    constexpr unsigned int SDMA0_PERFCOUNTER_TAG_DELAY_RANGE__SELECT_RW_MASK  = 0x10000000L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_CLEAR0_MASK               = 0x00000002L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_CLEAR1_MASK               = 0x00000800L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_ENABLE0_MASK              = 0x00000001L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_ENABLE1_MASK              = 0x00000400L;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_SEL0_MASK                 = 0x000003fcL;
    constexpr unsigned int SDMA0_PERFMON_CNTL__PERF_SEL1_MASK                 = 0x000ff000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_RESULT__PERF_COUNT_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER0_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_HI__PERFCOUNTER_HI_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_LO__PERFCOUNTER_LO_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_RESULT__PERF_COUNT_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_MODE2_MASK        = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_MODE3_MASK        = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_SEL2_MASK         = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT1__PERF_SEL3_MASK         = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__CNTR_MODE_MASK          = 0x00f00000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_MODE1_MASK         = 0x0f000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_MODE_MASK          = 0xf0000000L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_SEL1_MASK          = 0x000ffc00L;
    constexpr unsigned int SDMA1_PERFCOUNTER1_SELECT__PERF_SEL_MASK           = 0x000003ffL;
    constexpr unsigned int SDMA1_PERFCOUNTER_TAG_DELAY_RANGE__RANGE_HIGH_MASK = 0x0fffc000L;
    constexpr unsigned int SDMA1_PERFCOUNTER_TAG_DELAY_RANGE__RANGE_LOW_MASK  = 0x00003fffL;
    constexpr unsigned int SDMA1_PERFCOUNTER_TAG_DELAY_RANGE__SELECT_RW_MASK  = 0x10000000L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_CLEAR0_MASK               = 0x00000002L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_CLEAR1_MASK               = 0x00000800L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_ENABLE0_MASK              = 0x00000001L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_ENABLE1_MASK              = 0x00000400L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_SEL0_MASK                 = 0x000003fcL;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_SEL1_MASK                 = 0x000ff000L;
} // namespace Oss50

namespace Raven
{
    constexpr unsigned int RLC_SPM_PERFMON_CNTL__RESERVED1_MASK               = 0x00000ffcL;
    constexpr unsigned int RLC_SPM_PERFMON_CNTL__RLC_DBG_STRM_EN_MASK         = 0x00000001L;
    constexpr unsigned int RLC_SPM_PERFMON_CNTL__RLC_DBG_STRM_EXT_SAMPLE_MASK = 0x00000002L;
} // namespace Raven

namespace Rn
{
    constexpr unsigned int PA_SC_ENHANCE_2__PBB_TIMEOUT_THRESHOLD_MODE_MASK   = 0x00000800L;
    constexpr unsigned int PA_SC_ENHANCE_2__RSVD_MASK                         = 0xfffff000L;
} // namespace Rn

namespace Rv2x_Rn
{
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR__addr_MASK              = 0x000000ffL;
    constexpr unsigned int RLC_SPM_ACCUM_CTRLRAM_ADDR__RESERVED_MASK          = 0xffffff00L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__RESERVED_MASK                  = 0xfffffc00L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeAccumDoneInt_MASK        = 0x00000010L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeResetAccum_MASK          = 0x00000020L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeSpmDoneInt_MASK          = 0x00000008L;
    constexpr unsigned int RLC_SPM_ACCUM_CTRL__StrobeStartSpm_MASK            = 0x000003c0L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoAccumEn_MASK               = 0x00000002L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoResetPerfmonDisable_MASK   = 0x00000020L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__AutoSpmEn_MASK                 = 0x00000004L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__Globals_LoadOverride_MASK      = 0x00000008L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__RESERVED_MASK                  = 0xffffffc0L;
    constexpr unsigned int RLC_SPM_ACCUM_MODE__SE0_LoadOverride_MASK          = 0x00000010L;
    constexpr unsigned int RLC_SPM_ACCUM_SAMPLES_REQUESTED__RESERVED_MASK     = 0xffffff00L;
    constexpr unsigned int RLC_SPM_ACCUM_STATUS__RESERVED_MASK                = 0xffff0000L;
    constexpr unsigned int RLC_SPM_ACCUM_THRESHOLD__RESERVED_MASK             = 0xffff0000L;
    constexpr unsigned int SPI_SHADER_PGM_CHKSUM_VS__CHECKSUM_MASK            = 0xffffffffL;
} // namespace Rv2x_Rn

namespace Vega
{
    constexpr unsigned int RLC_SPM_PERFMON_CNTL__RESERVED1_MASK               = 0x00000fffL;
    constexpr unsigned int SDMA1_PERFCOUNTER0_RESULT__PERF_COUNT_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER1_RESULT__PERF_COUNT_MASK         = 0xffffffffL;
    constexpr unsigned int SDMA1_PERFCOUNTER_TAG_DELAY_RANGE__RANGE_HIGH_MASK = 0x0fffc000L;
    constexpr unsigned int SDMA1_PERFCOUNTER_TAG_DELAY_RANGE__RANGE_LOW_MASK  = 0x00003fffL;
    constexpr unsigned int SDMA1_PERFCOUNTER_TAG_DELAY_RANGE__SELECT_RW_MASK  = 0x10000000L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_CLEAR0_MASK               = 0x00000002L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_CLEAR1_MASK               = 0x00000800L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_ENABLE0_MASK              = 0x00000001L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_ENABLE1_MASK              = 0x00000400L;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_SEL0_MASK                 = 0x000003fcL;
    constexpr unsigned int SDMA1_PERFMON_CNTL__PERF_SEL1_MASK                 = 0x000ff000L;
} // namespace Vega

namespace Vg10_Vg12_Rv1x_Rv2x
{
    constexpr unsigned int SQ_CONFIG__UNUSED_MASK                             = 0x0000007fL;
} // namespace Vg10_Vg12_Rv1x_Rv2x

namespace Vg10_Vg12_Vg20_Rv1x_Rn
{
    constexpr unsigned int RMI_PERF_COUNTER_CNTL__PERF_EVENT_WINDOW_MASK1_MASK = 0x00000300L;
} // namespace Vg10_Vg12_Vg20_Rv1x_Rn

namespace Vg10_Vg20
{
    constexpr unsigned int RLC_SPM_CBR0_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_CBR0_PERFMON_SAMPLE_DELAY__RESERVED_MASK   = 0xffffff00L;
    constexpr unsigned int RLC_SPM_CBR1_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_CBR1_PERFMON_SAMPLE_DELAY__RESERVED_MASK   = 0xffffff00L;
    constexpr unsigned int RLC_SPM_DBR0_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_DBR0_PERFMON_SAMPLE_DELAY__RESERVED_MASK   = 0xffffff00L;
    constexpr unsigned int RLC_SPM_DBR1_PERFMON_SAMPLE_DELAY__PERFMON_SAMPLE_DELAY_MASK = 0x000000ffL;
    constexpr unsigned int RLC_SPM_DBR1_PERFMON_SAMPLE_DELAY__RESERVED_MASK   = 0xffffff00L;
} // namespace Vg10_Vg20

namespace Vg12
{
    constexpr unsigned int XDMA_SLV_FLIP_PENDING__XDMA_SLV_FLIP_PENDING_MASK  = 0x00000001L;
} // namespace Vg12

namespace Vg12_Rn
{
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi0__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi1__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi2__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi3__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi4__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi5__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi6__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__BypassEn_MASK            = 0x80000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__EventSelect_11_8_MASK    = 0x0000000fL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlHi7__EventSelect_13_12_MASK   = 0x60000000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo0__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo1__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo2__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo3__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo4__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo5__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo6__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__DsmTrig_MASK             = 0x00080000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__En_MASK                  = 0x00400000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__EventSelect_7_0_MASK     = 0x000000ffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__Mp1Int_MASK              = 0x00200000L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtlLo7__UnitMask_MASK            = 0x0000ff00L;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi0__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi1__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi2__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi3__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi4__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi5__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi6__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrHi7__CTR_47_32_MASK           = 0x0000ffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo0__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo1__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo2__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo3__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo4__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo5__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo6__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int DF_PIE_AON_PerfMonCtrLo7__CTR_31_0_MASK            = 0xffffffffL;
    constexpr unsigned int PerfMonCtl1__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl1__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl1__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl1__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl1__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl1__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl1__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl1__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl1__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl2__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl2__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl2__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl2__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl2__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl2__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl2__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl2__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl2__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl3__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl3__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl3__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl3__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl3__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl3__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl3__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl3__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl3__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl4__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl4__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl4__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl4__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl4__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl4__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl4__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl4__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl4__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtl5__ChipIDSel_MASK                        = 0x00f00000L;
    constexpr unsigned int PerfMonCtl5__ChipSelMask_MASK                      = 0x000f0000L;
    constexpr unsigned int PerfMonCtl5__Enable_MASK                           = 0x80000000L;
    constexpr unsigned int PerfMonCtl5__EventSelect_MASK                      = 0x000000ffL;
    constexpr unsigned int PerfMonCtl5__PriorityMask_MASK                     = 0x00003c00L;
    constexpr unsigned int PerfMonCtl5__RdWrMask_MASK                         = 0x00000300L;
    constexpr unsigned int PerfMonCtl5__ReqSizeMask_MASK                      = 0x0000c000L;
    constexpr unsigned int PerfMonCtl5__SubChanMask_MASK                      = 0x60000000L;
    constexpr unsigned int PerfMonCtl5__VCSel_MASK                            = 0x1f000000L;
    constexpr unsigned int PerfMonCtlClk__CtrClkEn_MASK                       = 0x80000000L;
    constexpr unsigned int PerfMonCtlClk__GlblMonEn_MASK                      = 0x02000000L;
    constexpr unsigned int PerfMonCtlClk__GlblResetMsk_MASK                   = 0x0000003fL;
    constexpr unsigned int PerfMonCtlClk__GlblReset_MASK                      = 0x01000000L;
    constexpr unsigned int PerfMonCtr1_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr1_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr1_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr2_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr2_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr2_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr3_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr3_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr3_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr4_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr4_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr4_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtr5_Hi__Data_MASK                          = 0x0000ffffL;
    constexpr unsigned int PerfMonCtr5_Hi__Overflow_MASK                      = 0x00010000L;
    constexpr unsigned int PerfMonCtr5_Lo__Data_MASK                          = 0xffffffffL;
    constexpr unsigned int PerfMonCtrClk_Hi__Data_MASK                        = 0x0000ffffL;
    constexpr unsigned int PerfMonCtrClk_Hi__Overflow_MASK                    = 0x00010000L;
    constexpr unsigned int PerfMonCtrClk_Lo__Data_MASK                        = 0xffffffffL;
} // namespace Vg12_Rn

namespace Vg12_Vg20
{
    constexpr unsigned int PA_SC_ENHANCE_2__RSVD_MASK                         = 0xffffff00L;
    constexpr unsigned int PA_STATE_STEREO_X__STEREO_X_OFFSET_MASK            = 0xffffffffL;
    constexpr unsigned int PA_STEREO_CNTL__EN_STEREO_MASK                     = 0x00000001L;
    constexpr unsigned int PA_STEREO_CNTL__RT_SLICE_MODE_MASK                 = 0x000000e0L;
    constexpr unsigned int PA_STEREO_CNTL__RT_SLICE_OFFSET_MASK               = 0x00000300L;
    constexpr unsigned int PA_STEREO_CNTL__STEREO_MODE_MASK                   = 0x0000001eL;
    constexpr unsigned int PA_STEREO_CNTL__VP_ID_MODE_MASK                    = 0x00001c00L;
    constexpr unsigned int PA_STEREO_CNTL__VP_ID_OFFSET_MASK                  = 0x0001e000L;
} // namespace Vg12_Vg20

namespace Vg12_Vg20_Rn
{
    constexpr unsigned int PA_SC_ENHANCE_2__RESERVED_0_MASK                   = 0x00000001L;
    constexpr unsigned int PA_SC_ENHANCE_2__RESERVED_1_MASK                   = 0x00000002L;
    constexpr unsigned int PA_SC_ENHANCE_2__RESERVED_2_MASK                   = 0x00000004L;
    constexpr unsigned int PA_SC_ENHANCE_2__RESERVED_3_MASK                   = 0x00000008L;
    constexpr unsigned int PA_SC_ENHANCE_2__RESERVED_4_MASK                   = 0x00000010L;
    constexpr unsigned int PA_SC_ENHANCE_2__RESERVED_5_MASK                   = 0x00000020L;
} // namespace Vg12_Vg20_Rn

namespace Vg20
{
    constexpr unsigned int TA_DSM_CNTL2__TA_FL_LFIFO_ENABLE_ERROR_INJECT_MASK = 0x000000c0L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FL_LFIFO_SELECT_INJECT_DELAY_MASK = 0x00000100L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FS_AFIFO_ENABLE_ERROR_INJECT_MASK = 0x00000018L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FS_AFIFO_SELECT_INJECT_DELAY_MASK = 0x00000020L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FS_CFIFO_ENABLE_ERROR_INJECT_MASK = 0x00003000L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FS_CFIFO_SELECT_INJECT_DELAY_MASK = 0x00004000L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FS_DFIFO_ENABLE_ERROR_INJECT_MASK = 0x00000003L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FS_DFIFO_SELECT_INJECT_DELAY_MASK = 0x00000004L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FX_LFIFO_ENABLE_ERROR_INJECT_MASK = 0x00000600L;
    constexpr unsigned int TA_DSM_CNTL2__TA_FX_LFIFO_SELECT_INJECT_DELAY_MASK = 0x00000800L;
    constexpr unsigned int TA_DSM_CNTL2__TA_INJECT_DELAY_MASK                 = 0xfc000000L;
    constexpr unsigned int TA_DSM_CNTL__TA_FL_LFIFO_DSM_IRRITATOR_DATA_MASK   = 0x000000c0L;
    constexpr unsigned int TA_DSM_CNTL__TA_FL_LFIFO_ENABLE_SINGLE_WRITE_MASK  = 0x00000100L;
    constexpr unsigned int TA_DSM_CNTL__TA_FS_AFIFO_DSM_IRRITATOR_DATA_MASK   = 0x00000018L;
    constexpr unsigned int TA_DSM_CNTL__TA_FS_AFIFO_ENABLE_SINGLE_WRITE_MASK  = 0x00000020L;
    constexpr unsigned int TA_DSM_CNTL__TA_FS_CFIFO_DSM_IRRITATOR_DATA_MASK   = 0x00003000L;
    constexpr unsigned int TA_DSM_CNTL__TA_FS_CFIFO_ENABLE_SINGLE_WRITE_MASK  = 0x00004000L;
    constexpr unsigned int TA_DSM_CNTL__TA_FS_DFIFO_DSM_IRRITATOR_DATA_MASK   = 0x00000003L;
    constexpr unsigned int TA_DSM_CNTL__TA_FS_DFIFO_ENABLE_SINGLE_WRITE_MASK  = 0x00000004L;
    constexpr unsigned int TA_DSM_CNTL__TA_FX_LFIFO_DSM_IRRITATOR_DATA_MASK   = 0x00000600L;
    constexpr unsigned int TA_DSM_CNTL__TA_FX_LFIFO_ENABLE_SINGLE_WRITE_MASK  = 0x00000800L;
    constexpr unsigned int TA_EDC_CNT__TA_FL_LFIFO_SED_COUNT_MASK             = 0x000000c0L;
    constexpr unsigned int TA_EDC_CNT__TA_FS_AFIFO_SED_COUNT_MASK             = 0x00000030L;
    constexpr unsigned int TA_EDC_CNT__TA_FS_CFIFO_SED_COUNT_MASK             = 0x00000c00L;
    constexpr unsigned int TA_EDC_CNT__TA_FS_DFIFO_DED_COUNT_MASK             = 0x0000000cL;
    constexpr unsigned int TA_EDC_CNT__TA_FS_DFIFO_SEC_COUNT_MASK             = 0x00000003L;
    constexpr unsigned int TA_EDC_CNT__TA_FX_LFIFO_SED_COUNT_MASK             = 0x00000300L;
} // namespace Vg20

namespace Vg20_Rn
{
    constexpr unsigned int SQ_CONFIG__DISABLE_BARRIER_WAITCNT_MASK            = 0x00000001L;
    constexpr unsigned int SQ_CONFIG__UNUSED_MASK                             = 0x0000007eL;
} // namespace Vg20_Rn

namespace Mall
{
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__COLOR_L3_BYPASS_MASK     = 0x08000000L;
    constexpr unsigned int CB_RMI_GL2_CACHE_CONTROL__DCC_L3_BYPASS_MASK       = 0x04000000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__HTILE_NOALLOC_MASK        = 0x10000000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__S_NOALLOC_MASK            = 0x08000000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__ZPCPSD_NOALLOC_MASK       = 0x20000000L;
    constexpr unsigned int DB_RMI_L2_CACHE_CONTROL__Z_NOALLOC_MASK            = 0x04000000L;
} // namespace Mall

} // inline namespace Chip
} // namespace Gfx9
} // namespace Pal
